public class ChatScreen extends Screen
| Modifier and Type | Field and Description |
|---|---|
protected java.util.List<java.lang.String> |
commandUsage |
protected int |
commandUsagePosition |
protected int |
commandUsageWidth |
protected TextFieldWidget |
inputField |
buttons, children, font, height, itemRenderer, minecraft, passEvents, title, widthBACKGROUND_LOCATION, blitOffset, GUI_ICONS_LOCATION, STATS_ICON_LOCATION| Constructor and Description |
|---|
ChatScreen(java.lang.String defaultText) |
| Modifier and Type | Method and Description |
|---|---|
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_) |
void |
getSentHistory(int msgPos) |
protected void |
init() |
protected void |
insertText(java.lang.String p_insertText_1_,
boolean p_insertText_2_) |
boolean |
isPauseScreen() |
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_,
double p_mouseScrolled_3_,
double p_mouseScrolled_5_) |
void |
removed() |
void |
render(int p_render_1_,
int p_render_2_,
float p_render_3_) |
void |
resize(Minecraft p_resize_1_,
int p_resize_2_,
int p_resize_3_) |
void |
showSuggestions() |
void |
tick() |
addButton, children, getMinecraft, getNarrationMessage, getTitle, getTooltipFromItem, handleComponentClicked, hasAltDown, hasControlDown, hasShiftDown, init, isCopy, isCut, isMouseOver, isPaste, isSelectAll, isValidCharacterForName, onClose, renderBackground, renderBackground, renderComponentHoverEffect, renderDirtBackground, renderTooltip, renderTooltip, renderTooltip, renderTooltip, sendMessage, sendMessage, setSize, shouldCloseOnEsc, wrapScreenErrorgetFocused, isDragging, setDragging, setFocusedblit, blit, blit, blit, blit, drawCenteredString, drawRightAlignedString, drawString, fill, fillGradient, hLine, innerBlit, vLineclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitchangeFocus, charTyped, func_212928_a, func_212930_a, func_212932_b, keyReleased, mouseDragged, mouseReleasedmouseMovedprotected TextFieldWidget inputField
protected final java.util.List<java.lang.String> commandUsage
protected int commandUsagePosition
protected int commandUsageWidth
public void resize(Minecraft p_resize_1_, int p_resize_2_, int p_resize_3_)
public boolean keyPressed(int p_keyPressed_1_,
int p_keyPressed_2_,
int p_keyPressed_3_)
keyPressed in interface IGuiEventListenerkeyPressed in interface INestedGuiEventHandlerkeyPressed in class Screenpublic 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_,
double p_mouseScrolled_3_,
double p_mouseScrolled_5_)
public boolean mouseClicked(double p_mouseClicked_1_,
double p_mouseClicked_3_,
int p_mouseClicked_5_)
protected void insertText(java.lang.String p_insertText_1_,
boolean p_insertText_2_)
insertText in class Screenpublic void getSentHistory(int msgPos)
public void render(int p_render_1_,
int p_render_2_,
float p_render_3_)
render in interface IRenderablerender in class Screenpublic boolean isPauseScreen()
isPauseScreen in class Screen