public class ChooseEther extends ChooseMove
bm, mode, parent| Constructor and Description |
|---|
ChooseEther(BattleScreen parent)
Initializes the screen.
|
| Modifier and Type | Method and Description |
|---|---|
void |
click(int width,
int height,
double mouseX,
double mouseY)
Handles a click input.
|
protected void |
clickMove(int moveIndex)
Sends the selection of a move to the server.
|
onClose, render, renderBackgroundgetMode, isScreenaddButton, addWidget, children, getMinecraft, getNarrationMessage, getTitle, getTooltipFromItem, handleComponentClicked, hasAltDown, hasControlDown, hasShiftDown, init, init, insertText, isCopy, isCut, isMouseOver, isPaste, isPauseScreen, isSelectAll, isValidCharacterForName, keyPressed, onFilesDrop, removed, render, renderBackground, renderBackground, renderComponentHoverEffect, renderComponentTooltip, renderDirtBackground, renderTooltip, renderTooltip, renderTooltip, renderToolTip, renderWrappedToolTip, resize, sendMessage, sendMessage, shouldCloseOnEsc, tick, wrapScreenErrorgetFocused, isDragging, setDragging, setFocusedblit, blit, blit, blit, blit, blitOutlineBlack, drawCenteredString, drawCenteredString, drawString, drawString, fill, fillGradient, fillGradient, getBlitOffset, hLine, setBlitOffset, vLineclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpublic ChooseEther(BattleScreen parent)
parent - The parent screen of this screen.protected void clickMove(int moveIndex)
ChooseMoveclickMove in class ChooseMovemoveIndex - The index of the selected move.public void click(int width,
int height,
double mouseX,
double mouseY)
BattleBaseScreenclick in class ChooseMovewidth - The width of the GUI.height - The height of the GUI.mouseX - The x coordinate of the cursor.mouseY - The y coordinate of the cursor.