public class SelectMoveScreen
extends net.minecraft.client.gui.screen.Screen
Modifier and Type | Class and Description |
---|---|
static class |
SelectMoveScreen.Mode |
Constructor and Description |
---|
SelectMoveScreen(int mode,
int slot) |
Modifier and Type | Method and Description |
---|---|
protected void |
clickMove(int moveIndex)
Sends the selection of a move to the server.
|
boolean |
isPauseScreen()
Returns true if this GUI should pause the game when it is displayed in single-player
|
boolean |
mouseClicked(double mouseX,
double mouseY,
int mouseButton) |
void |
onClose()
Cleans up when the screen is closed.
|
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, 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, 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 void render(com.mojang.blaze3d.matrix.MatrixStack matrix, int mouseX, int mouseY, float partialTicks)
render
in interface net.minecraft.client.gui.IRenderable
render
in class net.minecraft.client.gui.screen.Screen
public boolean mouseClicked(double mouseX, double mouseY, int mouseButton)
public boolean isPauseScreen()
isPauseScreen
in class net.minecraft.client.gui.screen.Screen
protected void clickMove(int moveIndex)
moveIndex
- The index of the selected move.public void onClose()
onClose
in class net.minecraft.client.gui.screen.Screen