public class GuiOptions extends GuiScreen
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.String |
title |
allowUserInput, buttonList, fontRendererObj, height, itemRender, keyHandled, labelList, mc, mouseHandled, widthICONS, OPTIONS_BACKGROUND, STAT_ICONS, zLevel| Constructor and Description |
|---|
GuiOptions(GuiScreen p_i1046_1_,
GameSettings p_i1046_2_) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
actionPerformed(GuiButton button)
Called by the controls from the buttonList when activated.
|
void |
confirmClicked(boolean result,
int id) |
void |
drawScreen(int mouseX,
int mouseY,
float partialTicks)
Draws the screen and all the components in it.
|
java.lang.String |
getDifficultyText(EnumDifficulty p_175355_1_) |
void |
initGui()
Adds the buttons (and other controls) to the screen in question.
|
protected void |
keyTyped(char typedChar,
int keyCode)
Fired when a key is typed (except F11 which toggles full screen).
|
addButton, doesGuiPauseGame, drawBackground, drawCreativeTabHoveringText, drawDefaultBackground, drawHoveringText, drawHoveringText, drawWorldBackground, getClipboardString, handleComponentClick, handleComponentHover, handleInput, handleKeyboardInput, handleMouseInput, isAltKeyDown, isCtrlKeyDown, isKeyComboCtrlA, isKeyComboCtrlC, isKeyComboCtrlV, isKeyComboCtrlX, isShiftKeyDown, mouseClicked, mouseClickMove, mouseReleased, onGuiClosed, onResize, renderToolTip, sendChatMessage, sendChatMessage, setClipboardString, setGuiSize, setText, setWorldAndResolution, updateScreendrawCenteredString, drawGradientRect, drawHorizontalLine, drawModalRectWithCustomSizedTexture, drawRect, drawScaledCustomSizeModalRect, drawString, drawTexturedModalRect, drawTexturedModalRect, drawTexturedModalRect, drawVerticalLinepublic GuiOptions(GuiScreen p_i1046_1_, GameSettings p_i1046_2_)
public void initGui()
public java.lang.String getDifficultyText(EnumDifficulty p_175355_1_)
public void confirmClicked(boolean result,
int id)
confirmClicked in interface GuiYesNoCallbackconfirmClicked in class GuiScreenprotected void keyTyped(char typedChar,
int keyCode)
throws java.io.IOException
protected void actionPerformed(GuiButton button) throws java.io.IOException
actionPerformed in class GuiScreenjava.io.IOExceptionpublic void drawScreen(int mouseX,
int mouseY,
float partialTicks)
drawScreen in class GuiScreen