public class ChatScreen extends Screen
Modifier and Type | Field and Description |
---|---|
private CommandSuggestionHelper |
commandSuggestionHelper |
private java.lang.String |
defaultInputFieldText |
private java.lang.String |
historyBuffer |
protected TextFieldWidget |
inputField |
private int |
sentHistoryCursor |
buttons, children, font, height, itemRenderer, minecraft, passEvents, title, width
BACKGROUND_LOCATION, GUI_ICONS_LOCATION, STATS_ICON_LOCATION
Constructor and Description |
---|
ChatScreen(java.lang.String defaultText) |
Modifier and Type | Method and Description |
---|---|
private void |
func_212997_a(java.lang.String p_212997_1_) |
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_) |
private void |
setChatLine(java.lang.String p_208604_1_) |
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, fill, fillGradient, getBlitOffset, hLine, innerBlit, setBlitOffset, vLine
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
changeFocus, charTyped, func_212932_b, getEventListenerForPos, keyReleased, mouseDragged, mouseReleased, setFocusedDefault
mouseMoved
private java.lang.String historyBuffer
private int sentHistoryCursor
protected TextFieldWidget inputField
private java.lang.String defaultInputFieldText
private CommandSuggestionHelper commandSuggestionHelper
public void resize(Minecraft p_resize_1_, int p_resize_2_, int p_resize_3_)
private void func_212997_a(java.lang.String p_212997_1_)
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 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
private void setChatLine(java.lang.String p_208604_1_)