|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.minecraft.client.gui.Gui
net.minecraft.client.gui.GuiScreen
public class GuiScreen
Field Summary | |
---|---|
boolean |
allowUserInput
|
GuiParticle |
guiParticles
|
int |
height
The height of the screen object. |
static boolean |
isMacOs
|
int |
width
The width of the screen object. |
Constructor Summary | |
---|---|
GuiScreen()
|
Method Summary | |
---|---|
void |
confirmClicked(boolean par1,
int par2)
|
boolean |
doesGuiPauseGame()
Returns true if this GUI should pause the game when it is displayed in single-player |
void |
drawBackground(int par1)
Draws the background (i is always 0 as of 1.2.2) |
void |
drawDefaultBackground()
Draws either a gradient over the background screen (when it exists) or a flat gradient over background.png |
void |
drawScreen(int par1,
int par2,
float par3)
Draws the screen and all the components in it. |
void |
drawWorldBackground(int par1)
|
static String |
getClipboardString()
Returns a string stored in the system clipboard. |
void |
handleInput()
Delegates mouse and keyboard input. |
void |
handleKeyboardInput()
Handles keyboard input. |
void |
handleMouseInput()
Handles mouse input. |
void |
initGui()
Adds the buttons (and other controls) to the screen in question. |
static boolean |
isCtrlKeyDown()
|
static boolean |
isShiftKeyDown()
|
void |
onGuiClosed()
Called when the screen is unloaded. |
static void |
setClipboardString(String par0Str)
store a string in the system clipboard |
void |
setWorldAndResolution(Minecraft par1Minecraft,
int par2,
int par3)
Causes the screen to lay out its subcomponents again. |
void |
updateScreen()
Called from the main game loop to update the screen. |
Methods inherited from class net.minecraft.client.gui.Gui |
---|
drawCenteredString, drawRect, drawString, drawTexturedModalRect |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final boolean isMacOs
public int width
public int height
public boolean allowUserInput
public GuiParticle guiParticles
Constructor Detail |
---|
public GuiScreen()
Method Detail |
---|
public void drawScreen(int par1, int par2, float par3)
public static String getClipboardString()
public static void setClipboardString(String par0Str)
public void setWorldAndResolution(Minecraft par1Minecraft, int par2, int par3)
public void initGui()
public void handleInput()
public void handleMouseInput()
public void handleKeyboardInput()
public void updateScreen()
public void onGuiClosed()
public void drawDefaultBackground()
public void drawWorldBackground(int par1)
public void drawBackground(int par1)
public boolean doesGuiPauseGame()
public void confirmClicked(boolean par1, int par2)
public static boolean isCtrlKeyDown()
public static boolean isShiftKeyDown()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |