public class GuiScreenDemo extends GuiScreen
allowUserInput, buttonList, fontRendererObj, height, itemRender, labelList, mc, widthicons, optionsBackground, statIcons, zLevel| Constructor and Description |
|---|
GuiScreenDemo() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
actionPerformed(GuiButton button)
Called by the controls from the buttonList when activated.
|
void |
drawDefaultBackground()
Draws either a gradient over the background screen (when it exists) or a flat gradient over background.png
|
void |
drawScreen(int mouseX,
int mouseY,
float partialTicks)
Draws the screen and all the components in it.
|
void |
initGui()
Adds the buttons (and other controls) to the screen in question.
|
void |
updateScreen()
Called from the main game loop to update the screen.
|
confirmClicked, doesGuiPauseGame, drawBackground, drawCreativeTabHoveringText, drawHoveringText, drawHoveringText, drawWorldBackground, func_183500_a, getClipboardString, handleComponentClick, handleComponentHover, handleInput, handleKeyboardInput, handleMouseInput, isAltKeyDown, isCtrlKeyDown, isKeyComboCtrlA, isKeyComboCtrlC, isKeyComboCtrlV, isKeyComboCtrlX, isShiftKeyDown, keyTyped, mouseClicked, mouseClickMove, mouseReleased, onGuiClosed, onResize, renderToolTip, sendChatMessage, sendChatMessage, setClipboardString, setText, setWorldAndResolutiondrawCenteredString, drawGradientRect, drawHorizontalLine, drawModalRectWithCustomSizedTexture, drawRect, drawScaledCustomSizeModalRect, drawString, drawTexturedModalRect, drawTexturedModalRect, drawTexturedModalRect, drawVerticalLinepublic void initGui()
protected void actionPerformed(GuiButton button) throws java.io.IOException
actionPerformed in class GuiScreenjava.io.IOExceptionpublic void updateScreen()
updateScreen in class GuiScreenpublic void drawDefaultBackground()
drawDefaultBackground in class GuiScreenpublic void drawScreen(int mouseX,
int mouseY,
float partialTicks)
drawScreen in class GuiScreen