public class GuiCreateFlatWorld extends GuiScreen
Modifier and Type | Class and Description |
---|---|
(package private) class |
GuiCreateFlatWorld.Details |
Modifier and Type | Field and Description |
---|---|
private GuiButton |
addLayerButton |
private GuiCreateFlatWorld.Details |
createFlatWorldListSlotGui |
private GuiCreateWorld |
createWorldGui |
private GuiButton |
editLayerButton |
private java.lang.String |
flatWorldTitle |
private FlatGeneratorInfo |
generatorInfo |
private java.lang.String |
heightText |
private java.lang.String |
materialText |
private GuiButton |
removeLayerButton |
allowUserInput, buttonList, fontRenderer, height, itemRender, keyHandled, labelList, mc, mouseHandled, selectedButton, width
ICONS, OPTIONS_BACKGROUND, STAT_ICONS, zLevel
Constructor and Description |
---|
GuiCreateFlatWorld(GuiCreateWorld createWorldGuiIn,
java.lang.String preset) |
Modifier and Type | Method and Description |
---|---|
protected void |
actionPerformed(GuiButton button) |
void |
drawScreen(int mouseX,
int mouseY,
float partialTicks) |
java.lang.String |
getPreset() |
void |
handleMouseInput() |
private boolean |
hasSelectedLayer() |
void |
initGui() |
void |
onLayersChanged() |
void |
setPreset(java.lang.String preset) |
addButton, confirmClicked, doesGuiPauseGame, drawBackground, drawDefaultBackground, drawHoveringText, drawHoveringText, drawHoveringText, drawWorldBackground, getClipboardString, getItemToolTip, handleComponentClick, handleComponentHover, handleInput, handleKeyboardInput, isAltKeyDown, isCtrlKeyDown, isFocused, isKeyComboCtrlA, isKeyComboCtrlC, isKeyComboCtrlV, isKeyComboCtrlX, isShiftKeyDown, keyTyped, mouseClicked, mouseClickMove, mouseReleased, onGuiClosed, onResize, renderToolTip, sendChatMessage, sendChatMessage, setClipboardString, setFocused, setGuiSize, setText, setWorldAndResolution, updateScreen
drawCenteredString, drawGradientRect, drawHorizontalLine, drawModalRectWithCustomSizedTexture, drawRect, drawScaledCustomSizeModalRect, drawString, drawTexturedModalRect, drawTexturedModalRect, drawTexturedModalRect, drawVerticalLine
private final GuiCreateWorld createWorldGui
private FlatGeneratorInfo generatorInfo
private java.lang.String flatWorldTitle
private java.lang.String materialText
private java.lang.String heightText
private GuiCreateFlatWorld.Details createFlatWorldListSlotGui
private GuiButton addLayerButton
private GuiButton editLayerButton
private GuiButton removeLayerButton
public GuiCreateFlatWorld(GuiCreateWorld createWorldGuiIn, java.lang.String preset)
public java.lang.String getPreset()
public void setPreset(java.lang.String preset)
public void handleMouseInput() throws java.io.IOException
handleMouseInput
in class GuiScreen
java.io.IOException
protected void actionPerformed(GuiButton button) throws java.io.IOException
actionPerformed
in class GuiScreen
java.io.IOException
public void onLayersChanged()
private boolean hasSelectedLayer()
public void drawScreen(int mouseX, int mouseY, float partialTicks)
drawScreen
in class GuiScreen