public class GuiChat extends GuiScreen
allowUserInput, guiParticles, height, isMacOs, width
Modifier and Type | Method and Description |
---|---|
void |
completePlayerName()
Autocompletes player name
|
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 |
drawScreen(int par1,
int par2,
float par3)
Draws the screen and all the components in it.
|
void |
func_73894_a(String[] par1ArrayOfStr) |
void |
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 |
handleMouseInput()
Handles mouse input.
|
void |
initGui()
Adds the buttons (and other controls) to the screen in question.
|
void |
onGuiClosed()
Called when the screen is unloaded.
|
void |
updateScreen()
Called from the main game loop to update the screen.
|
drawBackground, drawDefaultBackground, drawWorldBackground, getClipboardString, handleInput, handleKeyboardInput, isCtrlKeyDown, isShiftKeyDown, setClipboardString, setWorldAndResolution
drawCenteredString, drawRect, drawString, drawTexturedModalRect, drawTexturedModelRectFromIcon
public GuiChat()
public GuiChat(String par1Str)
public void initGui()
public void onGuiClosed()
onGuiClosed
in class GuiScreen
public void updateScreen()
updateScreen
in class GuiScreen
public void handleMouseInput()
handleMouseInput
in class GuiScreen
public void confirmClicked(boolean par1, int par2)
confirmClicked
in class GuiScreen
public void completePlayerName()
public void getSentHistory(int par1)
public void drawScreen(int par1, int par2, float par3)
drawScreen
in class GuiScreen
public void func_73894_a(String[] par1ArrayOfStr)
public boolean doesGuiPauseGame()
doesGuiPauseGame
in class GuiScreen