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, 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 boolean visible
protected java.util.List<net.minecraft.client.gui.widget.TextFieldWidget> textFieldList
public void init()
init
in class net.minecraft.client.gui.screen.Screen
public void tick()
tick
in interface net.minecraft.client.gui.screen.IScreen
tick
in class net.minecraft.client.gui.screen.Screen
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 net.minecraft.client.gui.screen.Screen
public boolean keyPressed(int key, int scanCode, int modifiers)
keyPressed
in interface net.minecraft.client.gui.IGuiEventListener
keyPressed
in interface net.minecraft.client.gui.INestedGuiEventHandler
keyPressed
in class net.minecraft.client.gui.screen.Screen
public boolean charTyped(char key, int code)
charTyped
in interface net.minecraft.client.gui.IGuiEventListener
charTyped
in interface net.minecraft.client.gui.INestedGuiEventHandler
public void onClose()
onClose
in class net.minecraft.client.gui.screen.Screen
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
public boolean mouseReleased(double mouseX, double mouseY, int mouseButton)
mouseReleased
in interface net.minecraft.client.gui.IGuiEventListener
mouseReleased
in interface net.minecraft.client.gui.INestedGuiEventHandler
public 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()