public class GuiOptions extends GuiScreen implements GuiYesNoCallback
| Modifier and Type | Field and Description |
|---|---|
private static GameSettings.Options[] |
field_146440_f |
private GuiScreen |
field_146441_g |
protected java.lang.String |
field_146442_a |
private GuiLockIconButton |
field_175356_r |
private GuiButton |
field_175357_i |
private GameSettings |
game_settings_1
Reference to the GameSettings object.
|
allowUserInput, buttonList, fontRendererObj, height, itemRender, labelList, mc, widthicons, optionsBackground, statIcons, 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 |
func_175355_a(EnumDifficulty p_175355_1_) |
void |
initGui()
Adds the buttons (and other controls) to the screen in question.
|
doesGuiPauseGame, drawBackground, drawCreativeTabHoveringText, drawDefaultBackground, drawHoveringText, drawWorldBackground, getClipboardString, handleComponentClick, handleComponentHover, handleInput, handleKeyboardInput, handleMouseInput, isAltKeyDown, isCtrlKeyDown, isKeyComboCtrlA, isKeyComboCtrlC, isKeyComboCtrlV, isKeyComboCtrlX, isShiftKeyDown, keyTyped, mouseClicked, mouseClickMove, mouseReleased, onGuiClosed, onResize, renderToolTip, sendChatMessage, sendChatMessage, setClipboardString, setText, setWorldAndResolution, updateScreendrawCenteredString, drawGradientRect, drawHorizontalLine, drawModalRectWithCustomSizedTexture, drawRect, drawScaledCustomSizeModalRect, drawString, drawTexturedModalRect, drawTexturedModalRect, drawTexturedModalRect, drawVerticalLineprivate static final GameSettings.Options[] field_146440_f
private final GuiScreen field_146441_g
private final GameSettings game_settings_1
private GuiButton field_175357_i
private GuiLockIconButton field_175356_r
protected java.lang.String field_146442_a
public GuiOptions(GuiScreen p_i1046_1_, GameSettings p_i1046_2_)
public void initGui()
public java.lang.String func_175355_a(EnumDifficulty p_175355_1_)
public void confirmClicked(boolean result,
int id)
confirmClicked in interface GuiYesNoCallbackconfirmClicked in class GuiScreenprotected 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