public class GuiChat extends GuiScreen
| Modifier and Type | Field and Description |
|---|---|
protected GuiTextField |
inputField |
allowUserInput, buttonList, fontRendererObj, height, itemRender, labelList, mc, widthicons, optionsBackground, statIcons, zLevel| Constructor and Description |
|---|
GuiChat() |
GuiChat(java.lang.String defaultText) |
| Modifier and Type | Method and Description |
|---|---|
void |
autocompletePlayerNames() |
boolean |
doesGuiPauseGame() |
void |
drawScreen(int mouseX,
int mouseY,
float partialTicks) |
void |
getSentHistory(int msgPos) |
void |
handleMouseInput() |
void |
initGui() |
protected void |
keyTyped(char typedChar,
int keyCode) |
protected void |
mouseClicked(int mouseX,
int mouseY,
int mouseButton) |
void |
onAutocompleteResponse(java.lang.String[] p_146406_1_) |
void |
onGuiClosed() |
protected void |
setText(java.lang.String newChatText,
boolean shouldOverwrite) |
void |
updateScreen() |
actionPerformed, confirmClicked, drawBackground, drawCreativeTabHoveringText, drawDefaultBackground, drawHoveringText, drawHoveringText, drawWorldBackground, func_175272_a, func_175273_b, func_175276_a, func_175277_d, func_175278_g, func_175279_e, func_175280_f, func_175283_s, getClipboardString, handleInput, handleKeyboardInput, isCtrlKeyDown, isShiftKeyDown, mouseClickMove, mouseReleased, renderToolTip, sendChatMessage, sendChatMessage, setClipboardString, setWorldAndResolutiondrawCenteredString, drawGradientRect, drawHorizontalLine, drawModalRectWithCustomSizedTexture, drawRect, drawScaledCustomSizeModalRect, drawString, drawTexturedModalRect, drawTexturedModalRect, drawTexturedModalRect, drawVerticalLineprotected GuiTextField inputField
public void onGuiClosed()
onGuiClosed in class GuiScreenpublic void updateScreen()
updateScreen in class GuiScreenprotected void keyTyped(char typedChar,
int keyCode)
throws java.io.IOException
public void handleMouseInput()
throws java.io.IOException
handleMouseInput in class GuiScreenjava.io.IOExceptionprotected void mouseClicked(int mouseX,
int mouseY,
int mouseButton)
throws java.io.IOException
mouseClicked in class GuiScreenjava.io.IOExceptionprotected void setText(java.lang.String newChatText,
boolean shouldOverwrite)
public void autocompletePlayerNames()
public void getSentHistory(int msgPos)
public void drawScreen(int mouseX,
int mouseY,
float partialTicks)
drawScreen in class GuiScreenpublic void onAutocompleteResponse(java.lang.String[] p_146406_1_)
public boolean doesGuiPauseGame()
doesGuiPauseGame in class GuiScreen