public class GuiFlatPresets extends GuiScreen
Modifier and Type | Class and Description |
---|---|
(package private) static class |
GuiFlatPresets.LayerItem |
(package private) class |
GuiFlatPresets.ListSlot |
Modifier and Type | Field and Description |
---|---|
private GuiTextField |
field_146433_u |
private GuiButton |
field_146434_t |
private GuiFlatPresets.ListSlot |
field_146435_s |
private java.lang.String |
field_146436_r |
private static java.util.List<GuiFlatPresets.LayerItem> |
FLAT_WORLD_PRESETS |
private GuiCreateFlatWorld |
parentScreen
The parent GUI
|
private java.lang.String |
presetsShare |
private java.lang.String |
presetsTitle |
allowUserInput, buttonList, fontRendererObj, height, itemRender, labelList, mc, width
icons, optionsBackground, statIcons, zLevel
Constructor and Description |
---|
GuiFlatPresets(GuiCreateFlatWorld p_i46318_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.
|
private static void |
func_146421_a(java.lang.String p_146421_0_,
Item p_146421_1_,
BiomeGenBase p_146421_2_,
java.util.List<java.lang.String> p_146421_3_,
FlatLayerInfo... p_146421_4_) |
private static void |
func_146425_a(java.lang.String p_146425_0_,
Item p_146425_1_,
BiomeGenBase p_146425_2_,
FlatLayerInfo... p_146425_3_) |
void |
func_146426_g() |
private boolean |
func_146430_p() |
private static void |
func_175354_a(java.lang.String p_175354_0_,
Item p_175354_1_,
int p_175354_2_,
BiomeGenBase p_175354_3_,
java.util.List<java.lang.String> p_175354_4_,
FlatLayerInfo... p_175354_5_) |
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<GuiFlatPresets.LayerItem> FLAT_WORLD_PRESETS
private final GuiCreateFlatWorld parentScreen
private java.lang.String presetsTitle
private java.lang.String presetsShare
private java.lang.String field_146436_r
private GuiFlatPresets.ListSlot field_146435_s
private GuiButton field_146434_t
private GuiTextField field_146433_u
public GuiFlatPresets(GuiCreateFlatWorld p_i46318_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_146426_g()
private boolean func_146430_p()
private static void func_146425_a(java.lang.String p_146425_0_, Item p_146425_1_, BiomeGenBase p_146425_2_, FlatLayerInfo... p_146425_3_)
private static void func_146421_a(java.lang.String p_146421_0_, Item p_146421_1_, BiomeGenBase p_146421_2_, java.util.List<java.lang.String> p_146421_3_, FlatLayerInfo... p_146421_4_)
private static void func_175354_a(java.lang.String p_175354_0_, Item p_175354_1_, int p_175354_2_, BiomeGenBase p_175354_3_, java.util.List<java.lang.String> p_175354_4_, FlatLayerInfo... p_175354_5_)