public abstract class MinecraftGUI
extends net.minecraft.client.gui.screen.Screen
Screen that renders a PanelStudio GUI.| Modifier and Type | Class and Description |
|---|---|
class |
MinecraftGUI.GUIInterface
Implementation of
GLInterface to be used with MinecraftGUI |
| Modifier and Type | Field and Description |
|---|---|
protected net.minecraft.client.util.math.MatrixStack |
matrixStack
Saved matrix stack;
|
| Constructor and Description |
|---|
MinecraftGUI()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
charTyped(char chr,
int modifiers) |
void |
enterGUI()
Displays the GUI.
|
void |
exitGUI()
Closes the GUI.
|
protected abstract GUI |
getGUI()
Get the
GUI to be rendered. |
protected abstract MinecraftGUI.GUIInterface |
getInterface()
Get current
MinecraftGUI.GUIInterface. |
protected abstract int |
getScrollSpeed()
Get current scroll speed.
|
void |
init() |
boolean |
isPauseScreen() |
boolean |
keyPressed(int keyCode,
int scanCode,
int modifiers) |
boolean |
mouseClicked(double mouseX,
double mouseY,
int clickedButton) |
boolean |
mouseReleased(double mouseX,
double mouseY,
int releaseButton) |
boolean |
mouseScrolled(double mouseX,
double mouseY,
double scroll) |
void |
removed() |
void |
render(net.minecraft.client.util.math.MatrixStack matrices,
int mouseX,
int mouseY,
float partialTicks) |
protected void |
renderGUI()
Renders the GUI.
|
addButton, addChild, children, filesDragged, getNarrationMessage, getTitle, getTooltipFromItem, handleTextClick, hasAltDown, hasControlDown, hasShiftDown, init, insertText, isCopy, isCut, isMouseOver, isPaste, isSelectAll, isValidCharacterForName, onClose, renderBackground, renderBackground, renderBackgroundTexture, renderOrderedTooltip, renderTextHoverEffect, renderTooltip, renderTooltip, renderTooltip, resize, sendMessage, sendMessage, shouldCloseOnEsc, tick, wrapScreenErrorgetFocused, isDragging, setDragging, setFocuseddrawCenteredText, drawCenteredText, drawHorizontalLine, drawSprite, drawStringWithShadow, drawTexture, drawTexture, drawTexture, drawTexture, drawTextWithShadow, drawVerticalLine, fill, fillGradient, fillGradient, getZOffset, method_29343, setZOffsetclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitprotected net.minecraft.client.util.math.MatrixStack matrixStack
public void enterGUI()
public void exitGUI()
protected void renderGUI()
public void init()
init in class net.minecraft.client.gui.screen.Screenpublic void removed()
removed in class net.minecraft.client.gui.screen.Screenpublic void render(net.minecraft.client.util.math.MatrixStack matrices,
int mouseX,
int mouseY,
float partialTicks)
render in interface net.minecraft.client.gui.Drawablerender in class net.minecraft.client.gui.screen.Screenpublic boolean mouseScrolled(double mouseX,
double mouseY,
double scroll)
public boolean mouseClicked(double mouseX,
double mouseY,
int clickedButton)
public boolean mouseReleased(double mouseX,
double mouseY,
int releaseButton)
public boolean keyPressed(int keyCode,
int scanCode,
int modifiers)
keyPressed in interface net.minecraft.client.gui.ElementkeyPressed in interface net.minecraft.client.gui.ParentElementkeyPressed in class net.minecraft.client.gui.screen.Screenpublic boolean charTyped(char chr,
int modifiers)
public boolean isPauseScreen()
isPauseScreen in class net.minecraft.client.gui.screen.Screenprotected abstract MinecraftGUI.GUIInterface getInterface()
MinecraftGUI.GUIInterface.protected abstract int getScrollSpeed()