public abstract class TCGScreenBase
extends net.minecraft.client.gui.screen.Screen
implements net.minecraft.client.gui.INestedGuiEventHandler
| Modifier and Type | Field and Description |
|---|---|
protected java.util.List<net.minecraft.client.gui.widget.TextFieldWidget> |
textFieldList |
boolean |
visible |
| Constructor and Description |
|---|
TCGScreenBase() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
charTyped(char key,
int code) |
void |
drawEffectTooltip(com.mojang.blaze3d.matrix.MatrixStack matrix,
CommonCardState card,
int mouseX,
int mouseY,
int xOffset,
int yOffset) |
void |
drawHoveringText(com.mojang.blaze3d.matrix.MatrixStack matrix,
java.util.List<net.minecraft.util.text.ITextComponent> textLines,
int x,
int y,
Energy type) |
void |
drawRectWithBorder(com.mojang.blaze3d.matrix.MatrixStack matrix,
int x1,
int y1,
int x2,
int y2,
int backgroundColor,
int borderColor) |
int |
getScaledHeight() |
int |
getScaledWidth() |
void |
init() |
boolean |
isLeftMousePressed() |
boolean |
isRightMousePressed() |
boolean |
keyPressed(int key,
int scanCode,
int modifiers) |
boolean |
mouseClicked(double mouseX,
double mouseY,
int mouseButton) |
boolean |
mouseReleased(double mouseX,
double mouseY,
int mouseButton) |
void |
onClose() |
void |
render(com.mojang.blaze3d.matrix.MatrixStack matrix,
int mouseX,
int mouseY,
float partialTicks) |
void |
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, 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 boolean visible
protected java.util.List<net.minecraft.client.gui.widget.TextFieldWidget> textFieldList
public void init()
init in class net.minecraft.client.gui.screen.Screenpublic void tick()
tick in interface net.minecraft.client.gui.screen.IScreentick 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 keyPressed(int key,
int scanCode,
int modifiers)
keyPressed in interface net.minecraft.client.gui.IGuiEventListenerkeyPressed in interface net.minecraft.client.gui.INestedGuiEventHandlerkeyPressed in class net.minecraft.client.gui.screen.Screenpublic boolean charTyped(char key,
int code)
charTyped in interface net.minecraft.client.gui.IGuiEventListenercharTyped in interface net.minecraft.client.gui.INestedGuiEventHandlerpublic void onClose()
onClose in class net.minecraft.client.gui.screen.Screenpublic boolean mouseClicked(double mouseX,
double mouseY,
int mouseButton)
mouseClicked in interface net.minecraft.client.gui.IGuiEventListenermouseClicked in interface net.minecraft.client.gui.INestedGuiEventHandlerpublic boolean mouseReleased(double mouseX,
double mouseY,
int mouseButton)
mouseReleased in interface net.minecraft.client.gui.IGuiEventListenermouseReleased in interface net.minecraft.client.gui.INestedGuiEventHandlerpublic boolean isLeftMousePressed()
public boolean isRightMousePressed()
public void drawEffectTooltip(com.mojang.blaze3d.matrix.MatrixStack matrix,
CommonCardState card,
int mouseX,
int mouseY,
int xOffset,
int yOffset)
public void drawHoveringText(com.mojang.blaze3d.matrix.MatrixStack matrix,
java.util.List<net.minecraft.util.text.ITextComponent> textLines,
int x,
int y,
Energy type)
public void drawRectWithBorder(com.mojang.blaze3d.matrix.MatrixStack matrix,
int x1,
int y1,
int x2,
int y2,
int backgroundColor,
int borderColor)
public int getScaledWidth()
public int getScaledHeight()