net.minecraft.client.gui.screens

public class ChatScreen

extends Screen

All mapped superinterfaces:

ContainerEventHandler, GuiEventListener, Widget

eje
net.minecraft.client.gui.screens.ChatScreen
net.minecraft.class_408
net.minecraft.client.gui.screen.ChatScreen
net.minecraft.src.C_3538_

Field summary

Modifier and TypeField
public static final double
a
MOUSE_SCROLL_SPEED
field_32237
SHIFT_SCROLL_AMOUNT
f_169234_
private static final Component
c
USAGE_TEXT
field_33953
USAGE_TEXT
f_169235_
private static final int
n
PREVIEW_MARGIN_SIDES
field_39341
PREVIEW_LEFT_MARGIN
f_232692_
private static final int
o
PREVIEW_PADDING
field_39342
PREVIEW_RIGHT_MARGIN
f_232693_
private static final int
p
PREVIEW_MARGIN_BOTTOM
field_39343
PREVIEW_BOTTOM_MARGIN
f_232694_
private static final Component
q
PREVIEW_WARNING_TITLE
field_39344
CHAT_PREVIEW_WARNING_TOAST_TITLE
f_232695_
private static final Component
r
PREVIEW_WARNING_TOAST
field_39345
CHAT_PREVIEW_WARNING_TOAST_TEXT
f_232696_
private static final Component
s
PREVIEW_HINT
field_39346
CHAT_PREVIEW_PLACEHOLDER_TEXT
f_232697_
private String
t
historyBuffer
field_2389
chatLastMessage
f_95574_
private int
u
historyPos
field_2387
messageHistorySize
f_95575_
protected EditBox
b
input
field_2382
chatField
f_95573_
private String
v
initial
field_18973
originalChatText
f_95576_
CommandSuggestions
w
commandSuggestions
field_21616
commandSuggestor
f_95577_
private ClientChatPreview
x
chatPreview
field_39347
chatPreviewer
f_232698_

Constructor summary

ModifierConstructor
public (String originalChatText)

Method summary

Modifier and TypeMethod
protected void
b()
init()
method_25426()
init()
m_7856_()
public void
a(eev arg0, int arg1, int arg2)
resize(Minecraft arg0, int arg1, int arg2)
method_25410(class_310 arg0, int arg1, int arg2)
resize(MinecraftClient arg0, int arg1, int arg2)
m_6574_(C_3391_ p_95601_, int p_95602_, int arg2)
public void
e()
removed()
method_25432()
removed()
m_7861_()
public void
d()
tick()
method_25393()
tick()
m_86600_()
private void
b(String arg0)
onEdited(String arg0)
method_23945(String arg0)
onChatFieldUpdate(String chatText)
m_95610_(String arg0)
private void
c(String arg0)
updateChatPreview(String arg0)
method_44059(String arg0)
updatePreviewer(String chatText)
m_232718_(String arg0)
private void
d(String arg0)
requestPreview(String arg0)
method_44279(String arg0)
tryRequestPreview(String chatText)
m_232720_(String arg0)
private void
e(String arg0)
requestChatMessagePreview(String arg0)
method_44280(String arg0)
tryRequestChatPreview(String chatText)
m_232722_(String arg0)
private void
f(String arg0)
requestCommandArgumentPreview(String arg0)
method_44281(String arg0)
tryRequestCommandPreview(String chatText)
m_232724_(String arg0)
private boolean
j()
sendsChatPreviewRequests()
method_44061()
shouldPreviewChat()
m_232727_()
public boolean
a(int arg0, int arg1, int arg2)
keyPressed(int arg0, int arg1, int arg2)
method_25404(int arg0, int arg1, int arg2)
keyPressed(int arg0, int arg1, int arg2)
m_7933_(int p_95592_, int p_95593_, int arg2)
public boolean
a(double arg0, double arg1, double arg2)
mouseScrolled(double arg0, double arg1, double arg2)
method_25401(double arg0, double arg1, double arg2)
mouseScrolled(double arg0, double arg1, double arg2)
m_6050_(double p_95582_, double arg1, double arg2)
public boolean
a(double arg0, double arg1, int arg2)
mouseClicked(double arg0, double arg1, int arg2)
method_25402(double arg0, double arg1, int arg2)
mouseClicked(double arg0, double arg1, int arg2)
m_6375_(double p_95586_, double arg1, int arg2)
protected void
a(String arg0, boolean arg1)
insertText(String arg0, boolean arg1)
method_25415(String arg0, boolean arg1)
insertText(String arg0, boolean arg1)
m_6697_(String p_95607_, boolean arg1)
public void
a(int arg0)
moveInHistory(int arg0)
method_2114(int arg0)
setChatFromHistory(int offset)
m_95588_(int arg0)
public void
a(dzt arg0, int arg1, int arg2, float arg3)
render(PoseStack arg0, int arg1, int arg2, float arg3)
method_25394(class_4587 arg0, int arg1, int arg2, float arg3)
render(MatrixStack arg0, int arg1, int arg2, float arg3)
m_6305_(C_3181_ p_95596_, int p_95597_, int p_95598_, float arg3)
public boolean
ai_()
isPauseScreen()
method_25421()
shouldPause()
m_7043_()
private void
g(String arg0)
setChatLine(String arg0)
method_2108(String arg0)
setText(String text)
m_95612_(String arg0)
protected void
a(eiu arg0)
updateNarrationState(NarrationElementOutput arg0)
method_37062(class_6382 arg0)
addScreenNarrations(NarrationMessageBuilder arg0)
m_142228_(C_141608_ arg0)
public void
a(dzt arg0)
renderChatPreview(PoseStack arg0)
method_44053(class_4587 arg0)
renderChatPreview(MatrixStack matrices)
m_232704_(C_3181_ arg0)
private Style
a(double arg0, double arg1)
getComponentStyleAt(double arg0, double arg1)
method_44052(double arg0, double arg1)
getTextStyleAt(double x, double y)
m_232701_(double p_232703_, double arg1)
private Style
c(double arg0, double arg1)
getChatPreviewStyleAt(double arg0, double arg1)
method_44058(double arg0, double arg1)
getPreviewTextStyleAt(double x, double y)
m_232715_(double p_232717_, double arg1)
private List<FormattedCharSequence>
x()
peekChatPreview()
method_44062()
getPreviewText()
m_232728_()
private int
y()
chatPreviewWidth()
method_44063()
getPreviewWidth()
m_232729_()
private int
b(List<alc> arg0)
chatPreviewHeight(List<FormattedCharSequence> arg0)
method_44057(List<class_5481> arg0)
getPreviewHeight(List<OrderedText> lines)
m_232713_(List<C_178_> arg0)
private int
z()
chatPreviewBottom()
method_44064()
getPreviewBottom()
m_232730_()
private int
b(int arg0)
chatPreviewTop(int arg0)
method_44055(int arg0)
getPreviewTop(int previewHeight)
m_232708_(int arg0)
private int
A()
chatPreviewLeft()
method_44050()
getPreviewLeft()
m_232699_()
private int
B()
chatPreviewRight()
method_44051()
getPreviewRight()
m_232700_()
public void
b(String arg0, boolean arg1)
handleChatInput(String arg0, boolean arg1)
method_44056(String arg0, boolean arg1)
sendMessage(String chatText, boolean addToHistory)
m_232710_(String p_232712_, boolean arg1)
public String
a(String arg0)
normalizeChatMessage(String arg0)
method_44054(String arg0)
normalize(String chatText)
m_232706_(String arg0)
public ClientChatPreview
h()
getChatPreview()
method_44060()
getChatPreviewer()
m_232726_()