public abstract class MinecraftHUDGUI extends MinecraftGUI
MinecraftGUI.GUIInterface| Modifier and Type | Field and Description |
|---|---|
protected boolean |
hudEditor |
matrixStack| Constructor and Description |
|---|
MinecraftHUDGUI() |
| Modifier and Type | Method and Description |
|---|---|
void |
enterGUI()
Displays the GUI.
|
void |
enterHUDEditor()
Open the HUD editor.
|
protected ClickGUI |
getGUI()
Get the
ClickGUI to be rendered. |
protected abstract HUDClickGUI |
getHUDGUI()
Get the
HUDClickGUI to be rendered. |
void |
handleKeyEvent(int scancode)
Key event function to be called when the GUI is closed.
|
void |
onClose()
Closes the GUI.
|
void |
render()
Render function to be called when the GUI is closed to render the HUD.
|
getInterface, getScrollSpeed, isPauseScreen, keyPressed, mouseClicked, mouseReleased, mouseScrolled, render, renderGUIaddButton, addChild, children, filesDragged, getNarrationMessage, getTitle, getTooltipFromItem, handleTextClick, hasAltDown, hasControlDown, hasShiftDown, init, init, insertText, isCopy, isCut, isMouseOver, isPaste, isSelectAll, isValidCharacterForName, removed, renderBackground, renderBackground, renderBackgroundTexture, renderOrderedTooltip, renderTextHoverEffect, renderTooltip, renderTooltip, renderTooltip, resize, sendMessage, sendMessage, shouldCloseOnEsc, tick, wrapScreenErrorgetFocused, isDragging, setDragging, setFocuseddrawCenteredString, 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, waitpublic void enterGUI()
MinecraftGUIenterGUI in class MinecraftGUIpublic void onClose()
MinecraftGUIonClose in class MinecraftGUIpublic void enterHUDEditor()
public void render()
public void handleKeyEvent(int scancode)
scancode - the key scancodeprotected abstract HUDClickGUI getHUDGUI()
HUDClickGUI to be rendered.protected ClickGUI getGUI()
MinecraftGUIClickGUI to be rendered.getGUI in class MinecraftGUI