YATS/Forge Documentation
 All Classes Namespaces Files Functions Variables Enumerator Pages
net.minecraft.client.gui.GuiSelectWorld Class Reference
Inheritance diagram for net.minecraft.client.gui.GuiSelectWorld:
net.minecraft.client.gui.GuiScreen net.minecraft.client.gui.Gui

Public Member Functions

 GuiSelectWorld (GuiScreen par1GuiScreen)
 
void initGui ()
 
void initButtons ()
 
void selectWorld (int par1)
 
void confirmClicked (boolean par1, int par2)
 
void drawScreen (int par1, int par2, float par3)
 
- Public Member Functions inherited from net.minecraft.client.gui.GuiScreen
void drawScreen (int par1, int par2, float par3)
 
void setWorldAndResolution (Minecraft par1Minecraft, int par2, int par3)
 
void initGui ()
 
void handleInput ()
 
void handleMouseInput ()
 
void handleKeyboardInput ()
 
void updateScreen ()
 
void onGuiClosed ()
 
void drawDefaultBackground ()
 
void drawWorldBackground (int par1)
 
void drawBackground (int par1)
 
boolean doesGuiPauseGame ()
 
void confirmClicked (boolean par1, int par2)
 
- Public Member Functions inherited from net.minecraft.client.gui.Gui
void drawCenteredString (FontRenderer par1FontRenderer, String par2Str, int par3, int par4, int par5)
 
void drawString (FontRenderer par1FontRenderer, String par2Str, int par3, int par4, int par5)
 
void drawTexturedModalRect (int par1, int par2, int par3, int par4, int par5, int par6)
 
void drawTexturedModelRectFromIcon (int par1, int par2, Icon par3Icon, int par4, int par5)
 

Static Public Member Functions

static GuiYesNo getDeleteWorldScreen (GuiScreen par0GuiScreen, String par1Str, int par2)
 
- Static Public Member Functions inherited from net.minecraft.client.gui.GuiScreen
static String getClipboardString ()
 
static void setClipboardString (String par0Str)
 
static boolean isCtrlKeyDown ()
 
static boolean isShiftKeyDown ()
 
- Static Public Member Functions inherited from net.minecraft.client.gui.Gui
static void drawRect (int par0, int par1, int par2, int par3, int par4)
 

Protected Member Functions

String getSaveFileName (int par1)
 
String getSaveName (int par1)
 
void actionPerformed (GuiButton par1GuiButton)
 
- Protected Member Functions inherited from net.minecraft.client.gui.GuiScreen
void keyTyped (char par1, int par2)
 
void mouseClicked (int par1, int par2, int par3)
 
void mouseMovedOrUp (int par1, int par2, int par3)
 
void func_85041_a (int par1, int par2, int par3, long par4)
 
void actionPerformed (GuiButton par1GuiButton)
 
- Protected Member Functions inherited from net.minecraft.client.gui.Gui
void drawHorizontalLine (int par1, int par2, int par3, int par4)
 
void drawVerticalLine (int par1, int par2, int par3, int par4)
 
void drawGradientRect (int par1, int par2, int par3, int par4, int par5, int par6)
 

Protected Attributes

GuiScreen parentScreen
 
String screenTitle = "Select world"
 
- Protected Attributes inherited from net.minecraft.client.gui.GuiScreen
Minecraft mc
 
List buttonList = new ArrayList()
 
FontRenderer fontRenderer
 
- Protected Attributes inherited from net.minecraft.client.gui.Gui
float zLevel = 0.0F
 

Additional Inherited Members

- Public Attributes inherited from net.minecraft.client.gui.GuiScreen
int width
 
int height
 
boolean allowUserInput = false
 
GuiParticle guiParticles
 
- Static Public Attributes inherited from net.minecraft.client.gui.GuiScreen
static final boolean isMacOs = Minecraft.getOs() == EnumOS.MACOS
 

Constructor & Destructor Documentation

net.minecraft.client.gui.GuiSelectWorld.GuiSelectWorld ( GuiScreen  par1GuiScreen)

Member Function Documentation

void net.minecraft.client.gui.GuiSelectWorld.actionPerformed ( GuiButton  par1GuiButton)
protected

Fired when a control is clicked. This is the equivalent of ActionListener.actionPerformed(ActionEvent e).

void net.minecraft.client.gui.GuiSelectWorld.confirmClicked ( boolean  par1,
int  par2 
)
void net.minecraft.client.gui.GuiSelectWorld.drawScreen ( int  par1,
int  par2,
float  par3 
)

Draws the screen and all the components in it.

static GuiYesNo net.minecraft.client.gui.GuiSelectWorld.getDeleteWorldScreen ( GuiScreen  par0GuiScreen,
String  par1Str,
int  par2 
)
static

Gets a GuiYesNo screen with the warning, buttons, etc.

String net.minecraft.client.gui.GuiSelectWorld.getSaveFileName ( int  par1)
protected

returns the file name of the specified save number

String net.minecraft.client.gui.GuiSelectWorld.getSaveName ( int  par1)
protected

returns the name of the saved game

void net.minecraft.client.gui.GuiSelectWorld.initButtons ( )

intilize the buttons for this GUI

void net.minecraft.client.gui.GuiSelectWorld.initGui ( )

Adds the buttons (and other controls) to the screen in question.

void net.minecraft.client.gui.GuiSelectWorld.selectWorld ( int  par1)

Gets the selected world.

Member Data Documentation

GuiScreen net.minecraft.client.gui.GuiSelectWorld.parentScreen
protected

A reference to the screen object that created this. Used for navigating between screens.

String net.minecraft.client.gui.GuiSelectWorld.screenTitle = "Select world"
protected

The title string that is displayed in the top-center of the screen.


The documentation for this class was generated from the following file: