public class SelectionScreen
extends net.minecraft.client.gui.screen.Screen
Constructor and Description |
---|
SelectionScreen(net.minecraft.util.text.ITextComponent title,
net.minecraft.util.text.ITextComponent text,
int selections,
boolean allowExit) |
SelectionScreen(net.minecraft.util.text.ITextComponent title,
net.minecraft.util.text.ITextComponent text,
int selections,
Pokemon[] options,
java.util.Set<java.lang.Integer> selected,
boolean allowExit) |
Modifier and Type | Method and Description |
---|---|
void |
init() |
boolean |
mouseClicked(double mouseX,
double mouseY,
int button) |
void |
removed() |
void |
render(com.mojang.blaze3d.matrix.MatrixStack matrix,
int mouseX,
int mouseY,
float partialTicks) |
void |
setPokemon(int slot,
Pokemon pokemon) |
addButton, addWidget, children, getMinecraft, getNarrationMessage, getTitle, getTooltipFromItem, handleComponentClicked, hasAltDown, hasControlDown, hasShiftDown, init, insertText, isCopy, isCut, isMouseOver, isPaste, isPauseScreen, isSelectAll, isValidCharacterForName, keyPressed, onClose, onFilesDrop, 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 SelectionScreen(net.minecraft.util.text.ITextComponent title, net.minecraft.util.text.ITextComponent text, int selections, boolean allowExit)
public SelectionScreen(net.minecraft.util.text.ITextComponent title, net.minecraft.util.text.ITextComponent text, int selections, Pokemon[] options, java.util.Set<java.lang.Integer> selected, boolean allowExit)
public void setPokemon(int slot, Pokemon pokemon)
public void init()
init
in class net.minecraft.client.gui.screen.Screen
public void removed()
removed
in class net.minecraft.client.gui.screen.Screen
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 button)