public class ChooseLearnMove extends ChoosePokemon
backText, inBattle, inParty
bm, mode, parent
Constructor and Description |
---|
ChooseLearnMove(BattleScreen parent,
BattleMode mode)
Initializes the GUI.
|
Modifier and Type | Method and Description |
---|---|
void |
click(int width,
int height,
double mouseX,
double mouseY)
Handles a click input.
|
protected void |
fillParty()
Sets the Pokémon in battle and in the player's party.
|
void |
onClose()
Closes the GUI.
|
addSwitch, choosePokemonSlot, clickBackButton, getBackText, getParty, render, renderBackground, selectedMove
getMode, isScreen
addButton, 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, wrapScreenError
getFocused, isDragging, setDragging, setFocused
blit, blit, blit, blit, blit, blitOutlineBlack, drawCenteredString, drawCenteredString, drawString, drawString, fill, fillGradient, fillGradient, getBlitOffset, hLine, setBlitOffset, vLine
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public ChooseLearnMove(BattleScreen parent, BattleMode mode)
parent
- The parent battle GUI.mode
- The battle mode that will trigger this GUI.public void click(int width, int height, double mouseX, double mouseY)
BattleBaseScreen
click
in class ChoosePokemon
width
- 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.public void onClose()
onClose
in class net.minecraft.client.gui.screen.Screen
protected void fillParty()
ChoosePokemon
fillParty
in class ChoosePokemon