public class GuiScreenCustomizePresets extends GuiScreen
Modifier and Type | Class and Description |
---|---|
(package private) static class |
GuiScreenCustomizePresets.Info |
(package private) class |
GuiScreenCustomizePresets.ListPreset |
Modifier and Type | Field and Description |
---|---|
private static java.util.List<GuiScreenCustomizePresets.Info> |
field_175310_f |
private GuiScreenCustomizePresets.ListPreset |
field_175311_g |
private java.lang.String |
field_175312_t |
private java.lang.String |
field_175313_s |
private GuiCustomizeWorldScreen |
field_175314_r |
protected java.lang.String |
field_175315_a |
private GuiButton |
field_175316_h |
private GuiTextField |
field_175317_i |
allowUserInput, buttonList, fontRendererObj, height, itemRender, labelList, mc, width
icons, optionsBackground, statIcons, zLevel
Constructor and Description |
---|
GuiScreenCustomizePresets(GuiCustomizeWorldScreen p_i45524_1_) |
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.
|
void |
func_175304_a() |
private boolean |
func_175305_g() |
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).
|
protected void |
mouseClicked(int mouseX,
int mouseY,
int mouseButton)
Called when the mouse is clicked.
|
void |
onGuiClosed()
Called when the screen is unloaded.
|
void |
updateScreen()
Called from the main game loop to update the screen.
|
confirmClicked, doesGuiPauseGame, drawBackground, drawCreativeTabHoveringText, drawDefaultBackground, drawHoveringText, drawWorldBackground, getClipboardString, handleComponentClick, handleComponentHover, handleInput, handleKeyboardInput, isAltKeyDown, isCtrlKeyDown, isKeyComboCtrlA, isKeyComboCtrlC, isKeyComboCtrlV, isKeyComboCtrlX, isShiftKeyDown, mouseClickMove, mouseReleased, onResize, renderToolTip, sendChatMessage, sendChatMessage, setClipboardString, setText, setWorldAndResolution
drawCenteredString, drawGradientRect, drawHorizontalLine, drawModalRectWithCustomSizedTexture, drawRect, drawScaledCustomSizeModalRect, drawString, drawTexturedModalRect, drawTexturedModalRect, drawTexturedModalRect, drawVerticalLine
private static final java.util.List<GuiScreenCustomizePresets.Info> field_175310_f
private GuiScreenCustomizePresets.ListPreset field_175311_g
private GuiButton field_175316_h
private GuiTextField field_175317_i
private GuiCustomizeWorldScreen field_175314_r
protected java.lang.String field_175315_a
private java.lang.String field_175313_s
private java.lang.String field_175312_t
public GuiScreenCustomizePresets(GuiCustomizeWorldScreen p_i45524_1_)
public void initGui()
public void handleMouseInput() throws java.io.IOException
handleMouseInput
in class GuiScreen
java.io.IOException
public void onGuiClosed()
onGuiClosed
in class GuiScreen
protected void mouseClicked(int mouseX, int mouseY, int mouseButton) throws java.io.IOException
mouseClicked
in class GuiScreen
java.io.IOException
protected void keyTyped(char typedChar, int keyCode) throws java.io.IOException
protected void actionPerformed(GuiButton button) throws java.io.IOException
actionPerformed
in class GuiScreen
java.io.IOException
public void drawScreen(int mouseX, int mouseY, float partialTicks)
drawScreen
in class GuiScreen
public void updateScreen()
updateScreen
in class GuiScreen
public void func_175304_a()
private boolean func_175305_g()