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, 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 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.Screenpublic void removed()
removed 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 boolean mouseClicked(double mouseX,
double mouseY,
int button)