public class TCGScreen extends TCGScreenChattableBase
Modifier and Type | Field and Description |
---|---|
BattleOwnedTileEntityController |
controller |
static java.lang.String |
GUI_OPTIONAL_ID |
static java.lang.String |
GUI_PEEK_ID |
double |
guiScaling |
float |
scaledFactor |
float |
scaledHeight |
float |
scaledWidth |
chatOpen, inputField
textFieldList, visible
Constructor and Description |
---|
TCGScreen(BattleOwnedTileEntityController controller,
int playerIndex,
boolean isSpectating) |
Modifier and Type | Method and Description |
---|---|
protected void |
actionPerformed(net.minecraft.client.gui.widget.button.Button button) |
InspectingCard |
getInspectingCard() |
void |
init() |
boolean |
isPauseScreen() |
boolean |
mouseClicked(double mouseX,
double mouseY,
int mouseButton) |
boolean |
mouseReleased(double mouseX,
double mouseY,
int state) |
void |
onClose() |
void |
render(com.mojang.blaze3d.matrix.MatrixStack matrix,
int mouseX,
int mouseY,
float partialTicks) |
void |
resize(net.minecraft.client.Minecraft p_231152_1_,
int p_231152_2_,
int p_231152_3_) |
void |
tick() |
calculateChatboxHeight, calculateChatboxWidth, charTyped, chatClosed, chatOpened, completePlayerName, getChatHeight, getChatScale, getChatWidth, getLineCount, getSentHistory
drawEffectTooltip, drawHoveringText, drawRectWithBorder, getScaledHeight, getScaledWidth, isLeftMousePressed, isRightMousePressed, keyPressed
addButton, addWidget, children, getMinecraft, getNarrationMessage, getTitle, getTooltipFromItem, handleComponentClicked, hasAltDown, hasControlDown, hasShiftDown, init, insertText, isCopy, isCut, isMouseOver, isPaste, isSelectAll, isValidCharacterForName, onFilesDrop, removed, renderBackground, renderBackground, renderComponentHoverEffect, renderComponentTooltip, renderDirtBackground, renderTooltip, renderTooltip, renderTooltip, renderToolTip, renderWrappedToolTip, 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 java.lang.String GUI_PEEK_ID
public static final java.lang.String GUI_OPTIONAL_ID
public BattleOwnedTileEntityController controller
public double guiScaling
public float scaledWidth
public float scaledHeight
public float scaledFactor
public TCGScreen(BattleOwnedTileEntityController controller, int playerIndex, boolean isSpectating)
public InspectingCard getInspectingCard()
public void init()
init
in class TCGScreenChattableBase
public void onClose()
onClose
in class TCGScreenChattableBase
public void tick()
tick
in interface net.minecraft.client.gui.screen.IScreen
tick
in class TCGScreenChattableBase
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 TCGScreenChattableBase
public boolean mouseReleased(double mouseX, double mouseY, int state)
mouseReleased
in interface net.minecraft.client.gui.IGuiEventListener
mouseReleased
in interface net.minecraft.client.gui.INestedGuiEventHandler
mouseReleased
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 TCGScreenChattableBase
protected void actionPerformed(net.minecraft.client.gui.widget.button.Button button)
public boolean isPauseScreen()
isPauseScreen
in class net.minecraft.client.gui.screen.Screen
public void resize(net.minecraft.client.Minecraft p_231152_1_, int p_231152_2_, int p_231152_3_)
resize
in class net.minecraft.client.gui.screen.Screen