net.minecraft.client.gui.components

public class ChatComponent

extends GuiComponent

ehq
net.minecraft.client.gui.components.ChatComponent
net.minecraft.class_338
net.minecraft.unmapped.C_uedmlrsy
net.minecraft.client.gui.hud.ChatHud
net.minecraft.client.gui.hud.ChatHud
net.minecraft.src.C_3454_

Field summary

Modifier and TypeField
private static final org.slf4j.Logger
a
LOGGER
field_2065
f_flzicggg
LOGGER
LOGGER
f_93757_
private static final int
b
MAX_CHAT_HISTORY
field_32180
f_odmdztdd
MAX_MESSAGES
MAX_MESSAGES
f_168843_
private static final int
c
MESSAGE_NOT_FOUND
field_39771
f_yzdqkixl
MISSING_MESSAGE_INDEX
MESSAGE_NOT_FOUND
f_240336_
private static final int
d
MESSAGE_INDENT
field_39772
f_wkmmzcuu
field_39772
MESSAGE_INDENT
f_240385_
private static final int
e
MESSAGE_TAG_MARGIN_LEFT
field_39773
f_dylsigso
field_39773
MESSAGE_TAB_MARGIN_LEFT
f_240337_
private final Minecraft
f
minecraft
field_2062
f_saexzcqr
client
client
f_93758_
private final List<String>
j
recentChat
field_2063
f_sxhfbwpu
messageHistory
messageHistory
f_93759_
private final List<GuiMessage>
k
allMessages
field_2061
f_ruaftuqz
messages
messages
f_93760_
private final List<GuiMessage$Line>
l
trimmedMessages
field_2064
f_edmrgtdf
visibleMessages
visibleMessages
f_93761_
private int
m
chatScrollbarPos
field_2066
f_kfrgulue
scrolledLines
scrolledLines
f_93763_
private boolean
n
newMessageSinceScroll
field_2067
f_dgprkgir
hasUnreadNewMessages
hasUnreadNewMessages
f_93764_

Constructor summary

ModifierConstructor
public (Minecraft client)

Method summary

Modifier and TypeMethod
public void
a(eaq arg0, int arg1)
render(PoseStack arg0, int arg1)
method_1805(class_4587 arg0, int arg1)
m_bstwsiiu(C_cnszsxvd arg0, int arg1)
render(MatrixStack matrices, int currentTick)
render(MatrixStack matrices, int tickDelta)
m_93780_(C_3181_ p_93782_, int arg1)
private void
a(eaq arg0, int arg1, int arg2, efq$a arg3)
drawTagIcon(PoseStack arg0, int arg1, int arg2, GuiMessageTag$Icon arg3)
method_44719(class_4587 arg0, int arg1, int arg2, class_7591$class_7592 arg3)
m_edltpzmv(C_cnszsxvd arg0, int arg1, int arg2, C_bzcwstys$C_owixgtsg arg3)
drawIndicatorIcon(MatrixStack matrices, int x, int y, MessageIndicator$Icon icon)
drawMessageTagIcon(MatrixStack matrices, int x, int y, ChatMessageTag$Icon icon)
m_240401_(C_3181_ p_240593_, int p_240610_, int p_240605_, C_240334_$C_240333_ arg3)
private int
a(efp$a arg0)
getTagIconLeft(GuiMessage$Line arg0)
method_44720(class_303$class_7590 arg0)
m_xytjwquz(C_skejqrts$C_ozgyzxme arg0)
getIndicatorX(ChatHudLine$Visible line)
getMessageTagX(ChatHudMessage$Line line)
m_240495_(C_3385_$C_240330_ arg0)
private boolean
j()
isChatHidden()
method_23677()
m_eegluqkz()
isChatHidden()
isChatHidden()
m_93817_()
private static double
b(int arg0)
getTimeFactor(int arg0)
method_19348(int arg0)
m_qvpgttyb(int arg0)
getMessageOpacityMultiplier(int age)
getMessageOpacityMultiplier(int age)
m_93775_(int p_93776_)
public void
a(boolean arg0)
clearMessages(boolean arg0)
method_1808(boolean arg0)
m_frnwzibh(boolean arg0)
clear(boolean clearHistory)
clear(boolean clearHistory)
m_93795_(boolean arg0)
public void
a(rq arg0)
addMessage(Component arg0)
method_1812(class_2561 arg0)
m_bzentyiw(C_rdaqiwdt arg0)
addMessage(Text message)
addMessage(Text message)
m_93785_(C_4996_ arg0)
public void
a(rq arg0, rz arg1, efq arg2)
addMessage(Component arg0, MessageSignature arg1, GuiMessageTag arg2)
method_44811(class_2561 arg0, class_7469 arg1, class_7591 arg2)
m_ubvivzdz(C_rdaqiwdt arg0, C_shphkjbi arg1, C_bzcwstys arg2)
addMessage(Text message, MessageSignatureData signature, MessageIndicator indicator)
addMessage(Text message, MessageSignature signature, ChatMessageTag tag)
m_240964_(C_4996_ p_241323_, C_213508_ p_241297_, C_240334_ arg2)
private void
a(rq arg0, efq arg1)
logChatMessage(Component arg0, GuiMessageTag arg1)
method_45027(class_2561 arg0, class_7591 arg1)
m_rlhqypho(C_rdaqiwdt arg0, C_bzcwstys arg1)
logChatMessage(Text message, MessageIndicator indicator)
logChatMessage(Text message, ChatMessageTag tag)
m_242648_(C_4996_ p_242840_, C_240334_ arg1)
private void
a(rq arg0, rz arg1, int arg2, efq arg3, boolean arg4)
addMessage(Component arg0, MessageSignature arg1, int arg2, GuiMessageTag arg3, boolean arg4)
method_1815(class_2561 arg0, class_7469 arg1, int arg2, class_7591 arg3, boolean arg4)
m_zgzqdynp(C_rdaqiwdt arg0, C_shphkjbi arg1, int arg2, C_bzcwstys arg3, boolean arg4)
addMessage(Text message, MessageSignatureData signature, int ticks, MessageIndicator indicator, boolean refresh)
addMessage(Text message, MessageSignature signature, int ticks, ChatMessageTag tag, boolean refresh)
m_240465_(C_4996_ p_241566_, C_213508_ p_240583_, int p_240624_, C_240334_ p_240558_, boolean arg4)
public void
a(rz arg0)
deleteMessage(MessageSignature arg0)
method_44812(class_7469 arg0)
m_tornqfrt(C_shphkjbi arg0)
hideMessage(MessageSignatureData signature)
hideMessage(MessageSignature signature)
m_240953_(C_213508_ arg0)
public void
a()
rescaleChat()
method_1817()
m_xykvvmbu()
reset()
reset()
m_93769_()
private void
k()
refreshTrimmedMessage()
method_44813()
m_jfhtimrs()
refresh()
resetVisibleMessages()
m_241120_()
public List<String>
b()
getRecentChat()
method_1809()
m_yddhorfj()
getMessageHistory()
getMessageHistory()
m_93797_()
public void
a(String arg0)
addRecentChat(String arg0)
method_1803(String arg0)
m_fzoayvji(String arg0)
addToMessageHistory(String message)
addToMessageHistory(String message)
m_93783_(String arg0)
public void
c()
resetChatScroll()
method_1820()
m_xjlchviy()
resetScroll()
resetScroll()
m_93810_()
public void
a(int arg0)
scrollChat(int arg0)
method_1802(int arg0)
m_mrpbvdcd(int arg0)
scroll(int scroll)
scroll(int lines)
m_205360_(int arg0)
public boolean
a(double arg0, double arg1)
handleChatQueueClicked(double arg0, double arg1)
method_27146(double arg0, double arg1)
m_bhntctyv(double arg0, double arg1)
mouseClicked(double mouseX, double mouseY)
mouseClicked(double mouseX, double mouseY)
m_93772_(double p_93774_, double arg1)
public Style
b(double arg0, double arg1)
getClickedComponentStyleAt(double arg0, double arg1)
method_1816(double arg0, double arg1)
m_obfjxduv(double arg0, double arg1)
getTextStyleAt(double x, double y)
getStyleAt(double x, double y)
m_93800_(double p_93802_, double arg1)
public GuiMessageTag
c(double arg0, double arg1)
getMessageTagAt(double arg0, double arg1)
method_44723(double arg0, double arg1)
m_usnmhaga(double arg0, double arg1)
getIndicatorAt(double mouseX, double mouseY)
getMessageTagAt(double mouseX, double mouseY)
m_240463_(double p_240554_, double arg1)
private boolean
a(double arg0, efp$a arg1, efq arg2)
hasSelectedMessageTag(double arg0, GuiMessage$Line arg1, GuiMessageTag arg2)
method_44718(double arg0, class_303$class_7590 arg1, class_7591 arg2)
m_dslipgxb(double arg0, C_skejqrts$C_ozgyzxme arg1, C_bzcwstys arg2)
isXInsideIndicatorIcon(double x, ChatHudLine$Visible line, MessageIndicator indicator)
hasSelectedMessageTag(double x, ChatHudMessage$Line line, ChatMessageTag tag)
m_240447_(double p_240547_, C_3385_$C_240330_ arg1, C_240334_ arg2)
private double
c(double arg0)
screenToChatX(double arg0)
method_44722(double arg0)
m_itcpovxa(double arg0)
toChatLineX(double x)
toChatLineX(double x)
m_240491_(double arg0)
private double
d(double arg0)
screenToChatY(double arg0)
method_44724(double arg0)
m_sklddpff(double arg0)
toChatLineY(double y)
toChatLineY(double y)
m_240485_(double arg0)
private int
e(double arg0)
getMessageIndexAt(double arg0)
method_44725(double arg0)
m_vpiseufd(double arg0)
getMessageIndex(double y)
getMessageIndexAt(double y)
m_240427_(double arg0)
public ChatScreen
d()
getFocusedChat()
method_44047()
m_oamuucay()
getChatScreen()
getChatScreen()
m_232476_()
private boolean
n()
isChatFocused()
method_1819()
m_ahslgonj()
isChatFocused()
isChatFocused()
m_93818_()
public int
e()
getWidth()
method_1811()
m_nvzrqfsc()
getWidth()
getWidth()
m_93813_()
public int
f()
getHeight()
method_1810()
m_ojscejmv()
getHeight()
getHeight()
m_93814_()
public double
g()
getScale()
method_1814()
m_aewdlzft()
getChatScale()
getChatScale()
m_93815_()
public static int
a(double arg0)
getWidth(double arg0)
method_1806(double arg0)
m_rejamyax(double arg0)
getWidth(double widthOption)
getWidth(double widthOption)
m_93798_(double p_93799_)
public static int
b(double arg0)
getHeight(double arg0)
method_1818(double arg0)
m_tseluwfe(double arg0)
getHeight(double heightOption)
getHeight(double heightOption)
m_93811_(double p_93812_)
public static double
h()
defaultUnfocusedPct()
method_41831()
m_vrcazman()
getDefaultUnfocusedHeight()
getDefaultUnfocusedHeight()
m_232477_()
public int
i()
getLinesPerPage()
method_1813()
m_qdpfumin()
getVisibleLineCount()
getVisibleLineCount()
m_93816_()
private int
o()
getLineHeight()
method_44752()
m_pkvxcieo()
getLineHeight()
getLineHeight()
m_240691_()