net.minecraft.client.gui.components

public class ChatComponent

fsk
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.chat.ChatHud

Field summary

Modifier and TypeField
private static final org.slf4j.Logger
a
LOGGER
field_2065
f_flzicggg
LOGGER
LOGGER
private static final int
b
MAX_CHAT_HISTORY
field_32180
f_odmdztdd
MAX_MESSAGES
MAX_MESSAGES
private static final int
c
MESSAGE_NOT_FOUND
field_39771
f_yzdqkixl
MISSING_MESSAGE_INDEX
MESSAGE_NOT_FOUND
private static final int
d
MESSAGE_INDENT
field_39772
f_wkmmzcuu
field_39772
MESSAGE_INDENT
private static final int
e
MESSAGE_TAG_MARGIN_LEFT
field_39773
f_dylsigso
field_39773
MESSAGE_TAB_MARGIN_LEFT
private static final int
f
BOTTOM_MARGIN
field_40389
f_nbqhowuc
OFFSET_FROM_BOTTOM
BOTTOM_MARGIN
private static final int
g
TIME_BEFORE_MESSAGE_DELETION
field_40390
f_kqeptgvw
REMOVAL_QUEUE_TICKS
DEFAULT_DELETION_SECONDS
private static final Component
h
DELETED_CHAT_MESSAGE
field_40391
f_iyjsesav
DELETED_MARKER_TEXT
DELETED_MARKER_TEXT
private final Minecraft
i
minecraft
field_2062
f_saexzcqr
client
client
private final ArrayListDeque<String>
j
recentChat
field_2063
f_sxhfbwpu
messageHistory
messageHistory
private final List<GuiMessage>
k
allMessages
field_2061
f_ruaftuqz
messages
messages
private final List<GuiMessage$Line>
l
trimmedMessages
field_2064
f_edmrgtdf
visibleMessages
visibleMessages
private int
m
chatScrollbarPos
field_2066
f_kfrgulue
scrolledLines
scrolledLines
private boolean
n
newMessageSinceScroll
field_2067
f_dgprkgir
hasUnreadNewMessages
hasUnreadNewMessages
private final List<ChatComponent$DelayedMessageDeletion>
o
messageDeletionQueue
field_40392
f_saseqtpy
removalQueue
deletionQueue

Constructor summary

ModifierConstructor
public (Minecraft client)

Method summary

Modifier and TypeMethod
public void
a()
tick()
method_45584()
m_csgqmavu()
tickRemovalQueueIfExists()
tickDeletionQueue()
public void
a(frv arg0, int arg1, int arg2, int arg3, boolean arg4)
render(GuiGraphics arg0, int arg1, int arg2, int arg3, boolean arg4)
method_1805(class_332 arg0, int arg1, int arg2, int arg3, boolean arg4)
m_bstwsiiu(C_sedilmty arg0, int arg1, int arg2, int arg3, boolean arg4)
render(DrawContext context, int currentTick, int mouseX, int mouseY, boolean focused)
render(GuiGraphics graphics, int tickDelta, int mouseX, int mouseY, boolean chatScreenOpen)
private void
a(frv arg0, int arg1, int arg2, fot$a arg3)
drawTagIcon(GuiGraphics arg0, int arg1, int arg2, GuiMessageTag$Icon arg3)
method_44719(class_332 arg0, int arg1, int arg2, class_7591$class_7592 arg3)
m_edltpzmv(C_sedilmty arg0, int arg1, int arg2, C_bzcwstys$C_owixgtsg arg3)
drawIndicatorIcon(DrawContext context, int x, int y, MessageIndicator$Icon icon)
drawMessageTagIcon(GuiGraphics graphics, int x, int y, ChatMessageTag$Icon icon)
private int
a(fos$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)
private boolean
l()
isChatHidden()
method_23677()
m_eegluqkz()
isChatHidden()
isChatHidden()
private static double
b(int arg0)
getTimeFactor(int arg0)
method_19348(int arg0)
m_qvpgttyb(int arg0)
getMessageOpacityMultiplier(int age)
getMessageOpacityMultiplier(int age)
public void
a(boolean arg0)
clearMessages(boolean arg0)
method_1808(boolean arg0)
m_frnwzibh(boolean arg0)
clear(boolean clearHistory)
clear(boolean clearHistory)
public void
a(wy arg0)
addMessage(Component arg0)
method_1812(class_2561 arg0)
m_bzentyiw(C_rdaqiwdt arg0)
addMessage(Text message)
addMessage(Text message)
public void
a(wy arg0, xk arg1, fot 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 signatureData, MessageIndicator indicator)
addMessage(Text message, MessageSignature signature, ChatMessageTag tag)
private void
a(fos arg0)
logChatMessage(GuiMessage arg0)
method_45027(class_303 arg0)
m_rlhqypho(C_skejqrts arg0)
logChatMessage(ChatHudLine message)
logChatMessage(ChatHudMessage message)
private void
b(fos arg0)
addMessageToDisplayQueue(GuiMessage arg0)
method_1815(class_303 arg0)
m_mqmrcyqk(C_skejqrts arg0)
addVisibleMessage(ChatHudLine message)
queueVisibleMessage(ChatHudMessage message)
private void
c(fos arg0)
addMessageToQueue(GuiMessage arg0)
method_58744(class_303 arg0)
m_ieibwato(C_skejqrts arg0)
addMessage(ChatHudLine message)
addMessage(ChatHudMessage message)
private void
m()
processMessageDeletionQueue()
method_45589()
m_maliiwol()
tickRemovalQueue()
updateDeletionQueue()
public void
a(xk arg0)
deleteMessage(MessageSignature arg0)
method_44812(class_7469 arg0)
m_tornqfrt(C_shphkjbi arg0)
removeMessage(MessageSignatureData signature)
hideMessage(MessageSignature signature)
private ChatComponent$DelayedMessageDeletion
b(xk arg0)
deleteMessageOrDelay(MessageSignature arg0)
method_45587(class_7469 arg0)
m_lqhjyrrj(C_shphkjbi arg0)
queueForRemoval(MessageSignatureData signature)
createDelayedMessageDeletion(MessageSignature signature)
private GuiMessage
d(fos arg0)
createDeletedMarker(GuiMessage arg0)
method_45586(class_303 arg0)
m_ahtxlwfi(C_skejqrts arg0)
createRemovalMarker(ChatHudLine original)
createDeletedMessage(ChatHudMessage message)
public void
b()
rescaleChat()
method_1817()
m_xykvvmbu()
reset()
reset()
private void
n()
refreshTrimmedMessages()
method_44813()
m_doerxbdt()
refresh()
refreshVisibleMessages()
public ArrayListDeque<String>
c()
getRecentChat()
method_1809()
m_yddhorfj()
getMessageHistory()
getMessageHistory()
public void
a(String arg0)
addRecentChat(String arg0)
method_1803(String arg0)
m_fzoayvji(String arg0)
addToMessageHistory(String message)
addToMessageHistory(String message)
public void
d()
resetChatScroll()
method_1820()
m_xjlchviy()
resetScroll()
resetScroll()
public void
a(int arg0)
scrollChat(int arg0)
method_1802(int arg0)
m_mrpbvdcd(int arg0)
scroll(int scroll)
scroll(int lines)
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)
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)
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)
private boolean
a(double arg0, fos$a arg1, fot 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)
private double
c(double arg0)
screenToChatX(double arg0)
method_44722(double arg0)
m_itcpovxa(double arg0)
toChatLineX(double x)
toChatLineX(double x)
private double
d(double arg0)
screenToChatY(double arg0)
method_44724(double arg0)
m_sklddpff(double arg0)
toChatLineY(double y)
toChatLineY(double y)
private int
d(double arg0, double arg1)
getMessageEndIndexAt(double arg0, double arg1)
method_45588(double arg0, double arg1)
m_gnxqpnev(double arg0, double arg1)
getMessageIndex(double chatLineX, double chatLineY)
getMessageEndAt(double x, double y)
private int
e(double arg0, double arg1)
getMessageLineIndexAt(double arg0, double arg1)
method_44725(double arg0, double arg1)
m_yesxfqiq(double arg0, double arg1)
getMessageLineIndex(double chatLineX, double chatLineY)
getMessageAt(double x, double y)
public boolean
e()
isChatFocused()
method_1819()
m_ahslgonj()
isChatFocused()
isChatFocused()
public int
f()
getWidth()
method_1811()
m_nvzrqfsc()
getWidth()
getWidth()
public int
g()
getHeight()
method_1810()
m_ojscejmv()
getHeight()
getHeight()
public double
h()
getScale()
method_1814()
m_aewdlzft()
getChatScale()
getChatScale()
public static int
a(double arg0)
getWidth(double arg0)
method_1806(double arg0)
m_rejamyax(double arg0)
getWidth(double widthOption)
getWidth(double widthOption)
public static int
b(double arg0)
getHeight(double arg0)
method_1818(double arg0)
m_tseluwfe(double arg0)
getHeight(double heightOption)
getHeight(double heightOption)
public static double
i()
defaultUnfocusedPct()
method_41831()
m_vrcazman()
getDefaultUnfocusedHeight()
getDefaultUnfocusedHeight()
public int
j()
getLinesPerPage()
method_1813()
m_qdpfumin()
getVisibleLineCount()
getVisibleLineCount()
private int
o()
getLineHeight()
method_44752()
m_pkvxcieo()
getLineHeight()
getLineHeight()
public ChatComponent$State
k()
storeState()
method_58745()
m_iudfmgeq()
toChatState()
toChatState()
public void
a(fsk$b arg0)
restoreState(ChatComponent$State arg0)
method_58743(class_338$class_9477 arg0)
m_zbmekjfc(C_uedmlrsy$C_frlehikz arg0)
restoreChatState(ChatHud$ChatState state)
restoreChatState(ChatHud$ChatState state)