public class GuiCustomizeWorldScreen extends GuiScreen implements GuiSlider.FormatHelper, GuiPageButtonList.GuiResponder
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.String[] |
pageNames |
protected java.lang.String |
pageTitle |
protected java.lang.String |
subtitle |
protected java.lang.String |
title |
allowUserInput, buttonList, fontRendererObj, height, itemRender, keyHandled, labelList, mc, mouseHandled, widthICONS, OPTIONS_BACKGROUND, STAT_ICONS, zLevel| Constructor and Description |
|---|
GuiCustomizeWorldScreen(GuiScreen parentIn,
java.lang.String p_i45521_2_) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
actionPerformed(GuiButton button)
Called by the controls from the buttonList when activated.
|
void |
drawScreen(int mouseX,
int mouseY,
float partialTicks)
Draws the screen and all the components in it.
|
java.lang.String |
getText(int id,
java.lang.String name,
float value) |
void |
handleMouseInput()
Handles mouse input.
|
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).
|
void |
loadValues(java.lang.String p_175324_1_) |
protected void |
mouseClicked(int mouseX,
int mouseY,
int mouseButton)
Called when the mouse is clicked.
|
protected void |
mouseReleased(int mouseX,
int mouseY,
int state)
Called when a mouse button is released.
|
java.lang.String |
saveValues() |
void |
setEntryValue(int id,
boolean value) |
void |
setEntryValue(int id,
float value) |
void |
setEntryValue(int id,
java.lang.String value) |
addButton, confirmClicked, doesGuiPauseGame, drawBackground, drawCreativeTabHoveringText, drawDefaultBackground, drawHoveringText, drawHoveringText, drawWorldBackground, getClipboardString, handleComponentClick, handleComponentHover, handleInput, handleKeyboardInput, isAltKeyDown, isCtrlKeyDown, isKeyComboCtrlA, isKeyComboCtrlC, isKeyComboCtrlV, isKeyComboCtrlX, isShiftKeyDown, mouseClickMove, onGuiClosed, onResize, renderToolTip, sendChatMessage, sendChatMessage, setClipboardString, setGuiSize, setText, setWorldAndResolution, updateScreendrawCenteredString, drawGradientRect, drawHorizontalLine, drawModalRectWithCustomSizedTexture, drawRect, drawScaledCustomSizeModalRect, drawString, drawTexturedModalRect, drawTexturedModalRect, drawTexturedModalRect, drawVerticalLineprotected java.lang.String title
protected java.lang.String subtitle
protected java.lang.String pageTitle
protected java.lang.String[] pageNames
public GuiCustomizeWorldScreen(GuiScreen parentIn, java.lang.String p_i45521_2_)
public void initGui()
public void handleMouseInput()
throws java.io.IOException
handleMouseInput in class GuiScreenjava.io.IOExceptionpublic java.lang.String saveValues()
public void loadValues(java.lang.String p_175324_1_)
public void setEntryValue(int id,
java.lang.String value)
setEntryValue in interface GuiPageButtonList.GuiResponderpublic java.lang.String getText(int id,
java.lang.String name,
float value)
getText in interface GuiSlider.FormatHelperpublic void setEntryValue(int id,
boolean value)
setEntryValue in interface GuiPageButtonList.GuiResponderpublic void setEntryValue(int id,
float value)
setEntryValue in interface GuiPageButtonList.GuiResponderprotected void actionPerformed(GuiButton button) throws java.io.IOException
actionPerformed in class GuiScreenjava.io.IOExceptionprotected void keyTyped(char typedChar,
int keyCode)
throws java.io.IOException
protected void mouseClicked(int mouseX,
int mouseY,
int mouseButton)
throws java.io.IOException
mouseClicked in class GuiScreenjava.io.IOExceptionprotected void mouseReleased(int mouseX,
int mouseY,
int state)
mouseReleased in class GuiScreenpublic void drawScreen(int mouseX,
int mouseY,
float partialTicks)
drawScreen in class GuiScreen