public abstract class MinecraftGUI
extends net.minecraft.client.gui.GuiScreen
GuiScreen that renders a PanelStudio GUI.| Modifier and Type | Class and Description |
|---|---|
class |
MinecraftGUI.GUIInterface
Implementation of
GLInterface to be used with MinecraftGUI |
| Constructor and Description |
|---|
MinecraftGUI() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
doesGuiPauseGame() |
void |
drawScreen(int mouseX,
int mouseY,
float partialTicks) |
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 |
initGui() |
protected void |
keyTyped(char typedChar,
int keyCode) |
void |
mouseClicked(int mouseX,
int mouseY,
int clickedButton) |
void |
mouseReleased(int mouseX,
int mouseY,
int releaseButton) |
void |
onGuiClosed() |
protected void |
renderGUI()
Renders the GUI.
|
actionPerformed, addButton, confirmClicked, drawBackground, drawDefaultBackground, drawHoveringText, drawHoveringText, drawHoveringText, drawWorldBackground, getClipboardString, getItemToolTip, handleComponentClick, handleComponentHover, handleInput, handleKeyboardInput, handleMouseInput, isAltKeyDown, isCtrlKeyDown, isFocused, isKeyComboCtrlA, isKeyComboCtrlC, isKeyComboCtrlV, isKeyComboCtrlX, isShiftKeyDown, mouseClickMove, onResize, renderToolTip, sendChatMessage, sendChatMessage, setClipboardString, setFocused, setGuiSize, setText, setWorldAndResolution, updateScreenpublic void enterGUI()
public void exitGUI()
protected void renderGUI()
public void initGui()
initGui in class net.minecraft.client.gui.GuiScreenpublic void onGuiClosed()
onGuiClosed in class net.minecraft.client.gui.GuiScreenpublic void drawScreen(int mouseX,
int mouseY,
float partialTicks)
drawScreen in class net.minecraft.client.gui.GuiScreenpublic void mouseClicked(int mouseX,
int mouseY,
int clickedButton)
mouseClicked in class net.minecraft.client.gui.GuiScreenpublic void mouseReleased(int mouseX,
int mouseY,
int releaseButton)
mouseReleased in class net.minecraft.client.gui.GuiScreenprotected void keyTyped(char typedChar,
int keyCode)
keyTyped in class net.minecraft.client.gui.GuiScreenpublic boolean doesGuiPauseGame()
doesGuiPauseGame in class net.minecraft.client.gui.GuiScreenprotected abstract MinecraftGUI.GUIInterface getInterface()
MinecraftGUI.GUIInterface.protected abstract int getScrollSpeed()