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

Public Member Functions

 GuiChat ()
 
 GuiChat (String par1Str)
 
void initGui ()
 
void onGuiClosed ()
 
void updateScreen ()
 
void handleMouseInput ()
 
void confirmClicked (boolean par1, int par2)
 
void completePlayerName ()
 
void getSentHistory (int par1)
 
void drawScreen (int par1, int par2, float par3)
 
void func_73894_a (String[] par1ArrayOfStr)
 
boolean doesGuiPauseGame ()
 
- 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)
 

Protected Member Functions

void keyTyped (char par1, int par2)
 
void mouseClicked (int par1, int par2, int par3)
 
- 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

GuiTextField inputField
 
- 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

- 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 ()
 
- 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.GuiChat.GuiChat ( )
net.minecraft.client.gui.GuiChat.GuiChat ( String  par1Str)

Member Function Documentation

void net.minecraft.client.gui.GuiChat.completePlayerName ( )

Autocompletes player name

void net.minecraft.client.gui.GuiChat.confirmClicked ( boolean  par1,
int  par2 
)
boolean net.minecraft.client.gui.GuiChat.doesGuiPauseGame ( )

Returns true if this GUI should pause the game when it is displayed in single-player

void net.minecraft.client.gui.GuiChat.drawScreen ( int  par1,
int  par2,
float  par3 
)

Draws the screen and all the components in it.

void net.minecraft.client.gui.GuiChat.func_73894_a ( String[]  par1ArrayOfStr)
void net.minecraft.client.gui.GuiChat.getSentHistory ( int  par1)

input is relative and is applied directly to the sentHistoryCursor so -1 is the previous message, 1 is the next message from the current cursor position

void net.minecraft.client.gui.GuiChat.handleMouseInput ( )

Handles mouse input.

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

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

void net.minecraft.client.gui.GuiChat.keyTyped ( char  par1,
int  par2 
)
protected

Fired when a key is typed. This is the equivalent of KeyListener.keyTyped(KeyEvent e).

void net.minecraft.client.gui.GuiChat.mouseClicked ( int  par1,
int  par2,
int  par3 
)
protected

Called when the mouse is clicked.

void net.minecraft.client.gui.GuiChat.onGuiClosed ( )

Called when the screen is unloaded. Used to disable keyboard repeat events

void net.minecraft.client.gui.GuiChat.updateScreen ( )

Called from the main game loop to update the screen.

Member Data Documentation

GuiTextField net.minecraft.client.gui.GuiChat.inputField
protected

Chat entry field


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