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, width
BACKGROUND_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, wrapScreenError
getFocused, isDragging, setDragging, setFocused
blit, blit, blit, blit, blit, drawCenteredString, drawRightAlignedString, drawString, fill, fillGradient, hLine, innerBlit, vLine
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
changeFocus, charTyped, func_212928_a, func_212930_a, func_212932_b, keyReleased, mouseDragged, mouseReleased
mouseMoved
protected 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 IGuiEventListener
keyPressed
in interface INestedGuiEventHandler
keyPressed
in class Screen
public 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 Screen
public void getSentHistory(int msgPos)
public void render(int p_render_1_, int p_render_2_, float p_render_3_)
render
in interface IRenderable
render
in class Screen
public boolean isPauseScreen()
isPauseScreen
in class Screen