public class GuiChat extends GuiScreen
| Modifier and Type | Field and Description |
|---|---|
protected java.util.List<java.lang.String> |
commandUsage |
protected int |
commandUsagePosition |
protected int |
commandUsageWidth |
protected GuiTextField |
inputField |
allowUserInput, buttons, children, fontRenderer, height, itemRender, labels, mc, widthICONS, OPTIONS_BACKGROUND, STAT_ICONS, zLevel| Constructor and Description |
|---|
GuiChat() |
GuiChat(java.lang.String defaultText) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
doesGuiPauseGame() |
static java.lang.String |
func_212336_a(com.mojang.brigadier.ParseResults<ISuggestionProvider> p_212336_0_,
java.lang.String p_212336_1_,
int p_212336_2_) |
IGuiEventListener |
getFocused() |
void |
getSentHistory(int msgPos) |
protected void |
initGui() |
boolean |
keyPressed(int p_keyPressed_1_,
int p_keyPressed_2_,
int p_keyPressed_3_) |
boolean |
mouseClicked(double p_mouseClicked_1_,
double p_mouseClicked_3_,
int p_mouseClicked_5_) |
boolean |
mouseScrolled(double p_mouseScrolled_1_) |
void |
onGuiClosed() |
void |
onResize(Minecraft mcIn,
int w,
int h) |
void |
render(int mouseX,
int mouseY,
float partialTicks) |
protected void |
setText(java.lang.String newChatText,
boolean shouldOverwrite) |
void |
showSuggestions() |
void |
tick() |
addButton, allowCloseWithEscape, close, confirmResult, drawBackground, drawDefaultBackground, drawHoveringText, drawHoveringText, drawHoveringText, drawWorldBackground, getChildren, getItemToolTip, handleComponentClick, handleComponentHover, isAltKeyDown, isCtrlKeyDown, isKeyComboCtrlA, isKeyComboCtrlC, isKeyComboCtrlV, isKeyComboCtrlX, isShiftKeyDown, renderToolTip, runOrMakeCrashReport, sendChatMessage, sendChatMessage, setWorldAndResolutionfocusNext, focusOn, mouseDragged, mouseReleased, setDragging, setFocuseddrawCenteredString, drawGradientRect, drawHorizontalLine, drawModalRectWithCustomSizedTexture, drawRect, drawScaledCustomSizeModalRect, drawString, drawTexturedModalRect, drawTexturedModalRect, drawTexturedModalRect, drawVerticalLineclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcharTyped, keyReleasedcanFocus, focusChangedprotected GuiTextField inputField
protected final java.util.List<java.lang.String> commandUsage
protected int commandUsagePosition
protected int commandUsageWidth
@Nullable public IGuiEventListener getFocused()
getFocused in interface IGuiEventListenerDeferredgetFocused in class GuiEventHandlerpublic void onGuiClosed()
onGuiClosed in class GuiScreenpublic boolean keyPressed(int p_keyPressed_1_,
int p_keyPressed_2_,
int p_keyPressed_3_)
keyPressed in interface IGuiEventListenerkeyPressed in interface IGuiEventListenerDeferredkeyPressed in class GuiScreenpublic void showSuggestions()
public static java.lang.String func_212336_a(com.mojang.brigadier.ParseResults<ISuggestionProvider> p_212336_0_, java.lang.String p_212336_1_, int p_212336_2_)
public boolean mouseScrolled(double p_mouseScrolled_1_)
public boolean mouseClicked(double p_mouseClicked_1_,
double p_mouseClicked_3_,
int p_mouseClicked_5_)
mouseClicked in interface IGuiEventListenermouseClicked in interface IGuiEventListenerDeferredmouseClicked in class GuiEventHandlerprotected void setText(java.lang.String newChatText,
boolean shouldOverwrite)
public void getSentHistory(int msgPos)
public void render(int mouseX,
int mouseY,
float partialTicks)
public boolean doesGuiPauseGame()
doesGuiPauseGame in class GuiScreen