public class RelearnerScreen extends net.minecraft.client.gui.screen.Screen implements ClickableElement<Attack>
| Modifier and Type | Field and Description |
|---|---|
static java.util.List<Attack> |
attackList
The attacks offered by the relearner.
|
| Constructor and Description |
|---|
RelearnerScreen(Pokemon pokemon)
Initializes the GUI.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
actionPerformed(net.minecraft.client.gui.widget.button.Button button) |
void |
elementClicked(java.util.List<Attack> list,
int index)
Does an action when a element is clicked.
|
void |
init() |
boolean |
isPauseScreen()
Returns true if this GUI should pause the game when it is displayed in single-player
|
void |
render(com.mojang.blaze3d.matrix.MatrixStack matrix,
int mouseX,
int mouseY,
float mFloat) |
addButton, addWidget, children, getMinecraft, getNarrationMessage, getTitle, getTooltipFromItem, handleComponentClicked, hasAltDown, hasControlDown, hasShiftDown, init, insertText, isCopy, isCut, isMouseOver, isPaste, isSelectAll, isValidCharacterForName, keyPressed, onClose, onFilesDrop, removed, 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 static java.util.List<Attack> attackList
public RelearnerScreen(Pokemon pokemon)
pokemon - The Pokémon to relearn moves.public void init()
init in class net.minecraft.client.gui.screen.Screenpublic void render(com.mojang.blaze3d.matrix.MatrixStack matrix,
int mouseX,
int mouseY,
float mFloat)
render in interface net.minecraft.client.gui.IRenderablerender in class net.minecraft.client.gui.screen.Screenpublic void elementClicked(java.util.List<Attack> list, int index)
ClickableElementelementClicked in interface ClickableElement<Attack>list - The list that was clicked.index - The index in the list that was clicked.public boolean isPauseScreen()
isPauseScreen in class net.minecraft.client.gui.screen.Screenprotected void actionPerformed(net.minecraft.client.gui.widget.button.Button button)