public class ChooseMovesetScreen extends net.minecraft.client.gui.screen.Screen implements ClickableElement<Attack>
| Modifier and Type | Field and Description |
|---|---|
static java.util.List<Attack> |
chosenAttackList
The attacks that the Pokémon has chosen to learn.
|
static java.util.List<Attack> |
mainAttackList
The attacks that the Pokémon can learn.
|
| Constructor and Description |
|---|
ChooseMovesetScreen(Pokemon pokemon)
Initializes the GUI.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
actionPerformed(net.minecraft.client.gui.widget.button.Button button) |
boolean |
charTyped(char p_73869_1_,
int p_73869_2_) |
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 |
onClose() |
void |
render(com.mojang.blaze3d.matrix.MatrixStack matrix,
int mouseX,
int mouseY,
float partialTicks) |
addButton, addWidget, children, getMinecraft, getNarrationMessage, getTitle, getTooltipFromItem, handleComponentClicked, hasAltDown, hasControlDown, hasShiftDown, init, insertText, isCopy, isCut, isMouseOver, isPaste, isSelectAll, isValidCharacterForName, keyPressed, 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> mainAttackList
public static java.util.List<Attack> chosenAttackList
public ChooseMovesetScreen(Pokemon pokemon)
pokemon - The Pokémon to choose moves for.public void init()
init in class net.minecraft.client.gui.screen.Screenpublic void onClose()
onClose in class net.minecraft.client.gui.screen.Screenpublic void render(com.mojang.blaze3d.matrix.MatrixStack matrix,
int mouseX,
int mouseY,
float partialTicks)
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 charTyped(char p_73869_1_,
int p_73869_2_)
charTyped in interface net.minecraft.client.gui.IGuiEventListenercharTyped in interface net.minecraft.client.gui.INestedGuiEventHandlerprotected void actionPerformed(net.minecraft.client.gui.widget.button.Button button)
public boolean isPauseScreen()
isPauseScreen in class net.minecraft.client.gui.screen.Screen