net.minecraft.client.gui.screens

public class ChatScreen

extends Screen

All mapped superinterfaces:

ContainerEventHandler, GuiEventListener, Widget

ekg
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
private static final int
c
CHAT_SIGNING_PENDING_INDICATOR_COLOR
field_39853
PREVIEW_PENDING_COLOR
f_241611_
private static final int
n
CHAT_SIGNING_READY_INDICATOR_COLOR
field_39854
PREVIEW_CONSUMABLE_COLOR
f_241682_
private static final int
o
PREVIEW_HIGHLIGHT_COLOR
field_39856
EVENT_HIGHLIGHT_COLOR
f_241696_
public static final double
a
MOUSE_SCROLL_SPEED
field_32237
SHIFT_SCROLL_AMOUNT
f_169234_
private static final Component
p
USAGE_TEXT
field_33953
USAGE_TEXT
f_169235_
private static final int
q
PREVIEW_MARGIN_SIDES
field_39341
PREVIEW_LEFT_MARGIN
f_232692_
private static final int
r
PREVIEW_PADDING
field_39342
PREVIEW_RIGHT_MARGIN
f_232693_
private static final int
s
PREVIEW_MARGIN_BOTTOM
field_39343
PREVIEW_BOTTOM_MARGIN
f_232694_
private static final Component
t
PREVIEW_WARNING_TITLE
field_39344
CHAT_PREVIEW_WARNING_TOAST_TITLE
f_232695_
private static final Component
u
PREVIEW_WARNING_TOAST
field_39345
CHAT_PREVIEW_WARNING_TOAST_TEXT
f_232696_
private static final Component
v
PREVIEW_INPUT_HINT
field_39855
CHAT_PREVIEW_INPUT_TEXT
f_241687_
private static final int
w
TOOLTIP_MAX_WIDTH
field_39774
MAX_INDICATOR_TOOLTIP_WIDTH
f_240354_
private String
x
historyBuffer
field_2389
chatLastMessage
f_95574_
private int
y
historyPos
field_2387
messageHistorySize
f_95575_
protected EditBox
b
input
field_2382
chatField
f_95573_
private String
z
initial
field_18973
originalChatText
f_95576_
CommandSuggestions
A
commandSuggestions
field_21616
chatInputSuggestor
f_95577_
private ClientChatPreview
B
chatPreview
field_39347
chatPreviewer
f_232698_
private ChatPreviewStatus
C
chatPreviewStatus
field_39850
chatPreviewMode
f_241615_
private boolean
D
previewNotRequired
field_39851
missingPreview
f_241631_
private final ChatPreviewAnimator
E
chatPreviewAnimator
field_39852
chatPreviewBackground
f_241643_

Constructor summary

ModifierConstructor
public (String originalChatText)

Method summary

Modifier and TypeMethod
protected void
b()
init()
method_25426()
init()
m_7856_()
public void
a(efu 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
k()
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(eaq 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)
protected Component
g()
getDisplayedPreviewText()
method_45029()
getPreviewScreenText()
m_242596_()
public boolean
h()
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(ejv arg0)
updateNarrationState(NarrationElementOutput arg0)
method_37062(class_6382 arg0)
addScreenNarrations(NarrationMessageBuilder arg0)
m_142228_(C_141608_ arg0)
public void
a(eaq arg0, rq arg1, float arg2, boolean arg3)
renderChatPreview(PoseStack arg0, Component arg1, float arg2, boolean arg3)
method_44053(class_4587 arg0, class_2561 arg1, float arg2, boolean arg3)
renderChatPreview(MatrixStack matrices, Text previewText, float alpha, boolean signable)
m_241793_(C_3181_ p_242318_, C_4996_ p_242443_, float p_242189_, boolean arg3)
private void
a(eaq arg0, alu arg1, int arg2, int arg3)
renderChatPreviewHighlights(PoseStack arg0, FormattedCharSequence arg1, int arg2, int arg3)
method_44934(class_4587 arg0, class_5481 arg1, int arg2, int arg3)
drawEventHighlight(MatrixStack matrices, OrderedText text, int y, int alpha)
m_242003_(C_3181_ p_242367_, C_178_ p_242163_, int p_242358_, int arg3)
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 Component
z()
peekPreview()
method_44937()
getPreviewText()
m_241838_()
private List<FormattedCharSequence>
a(rq arg0)
splitChatPreview(Component arg0)
method_44935(class_2561 arg0)
wrapPreviewText(Text preview)
m_242004_(C_4996_ arg0)
private int
A()
chatPreviewWidth()
method_44063()
getPreviewWidth()
m_232729_()
private int
b(List<alu> arg0)
chatPreviewHeight(List<FormattedCharSequence> arg0)
method_44057(List<class_5481> arg0)
getPreviewHeight(List<OrderedText> lines)
m_232713_(List<C_178_> arg0)
private int
B()
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
C()
chatPreviewLeft()
method_44050()
getPreviewLeft()
m_232699_()
private int
D()
chatPreviewRight()
method_44051()
getPreviewRight()
m_232700_()
public boolean
b(String arg0, boolean arg1)
handleChatInput(String arg0, boolean arg1)
method_44056(String arg0, boolean arg1)
sendMessage(String chatText, boolean addToHistory)
m_241797_(String p_242161_, boolean arg1)
public String
a(String arg0)
normalizeChatMessage(String arg0)
method_44054(String arg0)
normalize(String chatText)
m_232706_(String arg0)
public ClientChatPreview
j()
getChatPreview()
method_44060()
getChatPreviewer()
m_232726_()