public class CardSelector extends TCGScreenBase
| Modifier and Type | Field and Description |
|---|---|
protected static net.minecraft.util.ResourceLocation |
DISCARD |
protected static net.minecraft.util.ResourceLocation |
SELECT |
textFieldList, visible| Constructor and Description |
|---|
CardSelector(TCGScreen parent,
BattleOwnedTileEntityController controller) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
actionPerformed(net.minecraft.client.gui.widget.button.Button button) |
boolean |
charTyped(char key,
int code) |
CardSelectorState |
getData() |
CardSelectorPurpose |
getPurpose() |
java.util.List<CommonCardState> |
getSelectedCards() |
void |
init() |
void |
initialize() |
boolean |
mouseClicked(double mouseX,
double mouseY,
int mouseButton) |
void |
render(com.mojang.blaze3d.matrix.MatrixStack matrix,
int mouseX,
int mouseY,
float partialTicks) |
void |
set(CardSelectorPurpose purpose,
CardSelectorState data) |
void |
tick() |
drawEffectTooltip, drawHoveringText, drawRectWithBorder, getScaledHeight, getScaledWidth, isLeftMousePressed, isRightMousePressed, keyPressed, mouseReleased, onCloseaddButton, 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, 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, waitprotected static final net.minecraft.util.ResourceLocation DISCARD
protected static final net.minecraft.util.ResourceLocation SELECT
public CardSelector(TCGScreen parent, BattleOwnedTileEntityController controller)
public void init()
init in class TCGScreenBasepublic void tick()
tick in interface net.minecraft.client.gui.screen.IScreentick in class TCGScreenBasepublic void render(com.mojang.blaze3d.matrix.MatrixStack matrix,
int mouseX,
int mouseY,
float partialTicks)
render in interface net.minecraft.client.gui.IRenderablerender in class TCGScreenBaseprotected void actionPerformed(net.minecraft.client.gui.widget.button.Button button)
public boolean charTyped(char key,
int code)
charTyped in interface net.minecraft.client.gui.IGuiEventListenercharTyped in interface net.minecraft.client.gui.INestedGuiEventHandlercharTyped in class TCGScreenBasepublic boolean mouseClicked(double mouseX,
double mouseY,
int mouseButton)
mouseClicked in interface net.minecraft.client.gui.IGuiEventListenermouseClicked in interface net.minecraft.client.gui.INestedGuiEventHandlermouseClicked in class TCGScreenBasepublic void set(CardSelectorPurpose purpose, CardSelectorState data)
public CardSelectorState getData()
public CardSelectorPurpose getPurpose()
public void initialize()
public java.util.List<CommonCardState> getSelectedCards()