public class GuiCreateWorld extends GuiScreen
Modifier and Type | Field and Description |
---|---|
private boolean |
allowCheats
If cheats are allowed
|
private GuiButton |
btnAllowCommands |
private GuiButton |
btnBonusItems |
private GuiButton |
btnCustomizeType |
private GuiButton |
btnGameMode |
private GuiButton |
btnMapFeatures |
private GuiButton |
btnMapType |
private GuiButton |
btnMoreOptions |
java.lang.String |
chunkProviderSettingsJson |
private static java.lang.String[] |
disallowedFilenames
These filenames are known to be restricted on one or more OS's.
|
private java.lang.String |
field_146323_G |
private java.lang.String |
field_146328_H |
private java.lang.String |
field_146329_I |
private java.lang.String |
field_146330_J |
private GuiTextField |
field_146333_g |
private GuiTextField |
field_146335_h |
private java.lang.String |
field_146336_i |
private boolean |
field_146337_w |
private boolean |
field_146338_v |
private boolean |
field_146339_u |
private boolean |
field_146341_s |
private boolean |
field_146344_y |
private boolean |
field_146345_x |
private java.lang.String |
field_175300_s |
private java.lang.String |
gameMode |
private GuiScreen |
parentScreen |
private int |
selectedIndex |
allowUserInput, buttonList, fontRendererObj, height, itemRender, labelList, mc, width
icons, optionsBackground, statIcons, zLevel
Constructor and Description |
---|
GuiCreateWorld(GuiScreen p_i46320_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 void |
func_146314_g() |
private void |
func_146315_i() |
private void |
func_146316_a(boolean p_146316_1_) |
static java.lang.String |
func_146317_a(ISaveFormat p_146317_0_,
java.lang.String p_146317_1_) |
void |
func_146318_a(WorldInfo p_146318_1_) |
private void |
func_146319_h() |
private boolean |
func_175299_g() |
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, handleMouseInput, 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 GuiScreen parentScreen
private GuiTextField field_146333_g
private GuiTextField field_146335_h
private java.lang.String field_146336_i
private java.lang.String gameMode
private java.lang.String field_175300_s
private boolean field_146341_s
private boolean allowCheats
private boolean field_146339_u
private boolean field_146338_v
private boolean field_146337_w
private boolean field_146345_x
private boolean field_146344_y
private GuiButton btnGameMode
private GuiButton btnMoreOptions
private GuiButton btnMapFeatures
private GuiButton btnBonusItems
private GuiButton btnMapType
private GuiButton btnAllowCommands
private GuiButton btnCustomizeType
private java.lang.String field_146323_G
private java.lang.String field_146328_H
private java.lang.String field_146329_I
private java.lang.String field_146330_J
private int selectedIndex
public java.lang.String chunkProviderSettingsJson
private static final java.lang.String[] disallowedFilenames
public GuiCreateWorld(GuiScreen p_i46320_1_)
public void updateScreen()
updateScreen
in class GuiScreen
public void initGui()
private void func_146314_g()
private void func_146319_h()
public static java.lang.String func_146317_a(ISaveFormat p_146317_0_, java.lang.String p_146317_1_)
public void onGuiClosed()
onGuiClosed
in class GuiScreen
protected void actionPerformed(GuiButton button) throws java.io.IOException
actionPerformed
in class GuiScreen
java.io.IOException
private boolean func_175299_g()
private void func_146315_i()
private void func_146316_a(boolean p_146316_1_)
protected 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 GuiScreen
java.io.IOException
public void drawScreen(int mouseX, int mouseY, float partialTicks)
drawScreen
in class GuiScreen
public void func_146318_a(WorldInfo p_146318_1_)