public class PrizeSelectorScreen extends TCGScreenBase
Modifier and Type | Field and Description |
---|---|
static int |
TEXTURE_HEIGHT |
static int |
TEXTURE_WIDTH |
textFieldList, visible
Constructor and Description |
---|
PrizeSelectorScreen(TCGScreen parent,
BattleOwnedTileEntityController controller) |
Modifier and Type | Method and Description |
---|---|
ImmutableCard[] |
getPrizes() |
boolean |
mouseClicked(double mouseX,
double mouseY,
int mouseButton) |
void |
render(com.mojang.blaze3d.matrix.MatrixStack matrix,
int mouseX,
int mouseY,
float partialTicks) |
void |
setPrizes(ImmutableCard[] prizes) |
charTyped, drawEffectTooltip, drawHoveringText, drawRectWithBorder, getScaledHeight, getScaledWidth, init, isLeftMousePressed, isRightMousePressed, keyPressed, mouseReleased, onClose, tick
addButton, addWidget, children, getMinecraft, getNarrationMessage, getTitle, getTooltipFromItem, handleComponentClicked, hasAltDown, hasControlDown, hasShiftDown, init, insertText, isCopy, isCut, isMouseOver, isPaste, isPauseScreen, isSelectAll, isValidCharacterForName, onFilesDrop, removed, renderBackground, renderBackground, renderComponentHoverEffect, renderComponentTooltip, renderDirtBackground, renderTooltip, renderTooltip, renderTooltip, renderToolTip, renderWrappedToolTip, resize, sendMessage, sendMessage, shouldCloseOnEsc, 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 static final int TEXTURE_WIDTH
public static final int TEXTURE_HEIGHT
public PrizeSelectorScreen(TCGScreen parent, BattleOwnedTileEntityController controller)
public ImmutableCard[] getPrizes()
public void setPrizes(ImmutableCard[] prizes)
public boolean mouseClicked(double mouseX, double mouseY, int mouseButton)
mouseClicked
in interface net.minecraft.client.gui.IGuiEventListener
mouseClicked
in interface net.minecraft.client.gui.INestedGuiEventHandler
mouseClicked
in class TCGScreenBase
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 TCGScreenBase