net.minecraft.client.gui.components

public class ChatComponent

extends GuiComponent

dlk
net.minecraft.client.gui.components.ChatComponent
net.minecraft.class_338
net.minecraft.client.gui.hud.ChatHud
net.minecraft.client.gui.NewChatGui

Field summary

Modifier and TypeField
private static final org.apache.logging.log4j.Logger
a
LOGGER
field_2065
LOGGER
field_146249_a
private final Minecraft
b
minecraft
field_2062
client
field_146247_f
private final List<String>
c
recentChat
field_2063
messageHistory
field_146248_g
private final List<GuiMessage<Component>>
d
allMessages
field_2061
messages
field_146252_h
private final List<GuiMessage<FormattedCharSequence>>
e
trimmedMessages
field_2064
visibleMessages
field_146253_i
private final Deque<Component>
i
chatQueue
field_23934
messageQueue
field_238489_i_
private int
j
chatScrollbarPos
field_2066
scrolledLines
field_146250_j
private boolean
k
newMessageSinceScroll
field_2067
hasUnreadNewMessages
field_146251_k
private long
l
lastMessage
field_23935
lastMessageAddedTime
field_238490_l_

Constructor summary

ModifierConstructor
public (Minecraft client)

Method summary

Modifier and TypeMethod
public void
a(dfm arg0, int arg1)
render(PoseStack arg0, int arg1)
method_1805(class_4587 arg0, int arg1)
render(MatrixStack matrices, int tickDelta)
func_238492_a_(MatrixStack arg0, int arg1)
private boolean
h()
isChatHidden()
method_23677()
isChatHidden()
func_238496_i_()
private static double
a(int arg0)
getTimeFactor(int arg0)
method_19348(int arg0)
getMessageOpacityMultiplier(int age)
func_212915_c(int arg0)
public void
a(boolean arg0)
clearMessages(boolean arg0)
method_1808(boolean arg0)
clear(boolean clearHistory)
func_146231_a(boolean arg0)
public void
a(nr arg0)
addMessage(Component arg0)
method_1812(class_2561 arg0)
addMessage(Text message)
func_146227_a(ITextComponent arg0)
private void
a(nr arg0, int arg1)
addMessage(Component arg0, int arg1)
method_1804(class_2561 arg0, int arg1)
addMessage(Text message, int messageId)
func_146234_a(ITextComponent arg0, int arg1)
private void
a(nr arg0, int arg1, int arg2, boolean arg3)
addMessage(Component arg0, int arg1, int arg2, boolean arg3)
method_1815(class_2561 arg0, int arg1, int arg2, boolean arg3)
addMessage(Text message, int messageId, int timestamp, boolean refresh)
func_238493_a_(ITextComponent arg0, int arg1, int arg2, boolean arg3)
public void
a()
rescaleChat()
method_1817()
reset()
func_146245_b()
public List<String>
b()
getRecentChat()
method_1809()
getMessageHistory()
func_146238_c()
public void
a(String arg0)
addRecentChat(String arg0)
method_1803(String arg0)
addToMessageHistory(String message)
func_146239_a(String arg0)
public void
c()
resetChatScroll()
method_1820()
resetScroll()
func_146240_d()
public void
a(double arg0)
scrollChat(double arg0)
method_1802(double arg0)
scroll(double amount)
func_194813_a(double arg0)
public boolean
a(double arg0, double arg1)
handleChatQueueClicked(double arg0, double arg1)
method_27146(double arg0, double arg1)
mouseClicked(double mouseX, double mouseY)
func_238491_a_(double arg0, double arg1)
public Style
b(double arg0, double arg1)
getClickedComponentStyleAt(double arg0, double arg1)
method_1816(double arg0, double arg1)
getText(double x, double y)
func_238494_b_(double arg0, double arg1)
private boolean
i()
isChatFocused()
method_1819()
isChatFocused()
func_146241_e()
private void
b(int arg0)
removeById(int arg0)
method_1807(int arg0)
removeMessage(int messageId)
func_146242_c(int arg0)
public int
d()
getWidth()
method_1811()
getWidth()
func_146228_f()
public int
e()
getHeight()
method_1810()
getHeight()
func_146246_g()
public double
f()
getScale()
method_1814()
getChatScale()
func_194815_g()
public static int
b(double arg0)
getWidth(double arg0)
method_1806(double arg0)
getWidth(double widthOption)
func_194814_b(double arg0)
public static int
c(double arg0)
getHeight(double arg0)
method_1818(double arg0)
getHeight(double heightOption)
func_194816_c(double arg0)
public int
g()
getLinesPerPage()
method_1813()
getVisibleLineCount()
func_146232_i()
private long
j()
getChatRateMillis()
method_27148()
getChatDelayMillis()
func_238497_j_()
private void
k()
processPendingMessages()
method_27149()
processMessageQueue()
func_238498_k_()
public void
b(nr arg0)
enqueueMessage(Component arg0)
method_27147(class_2561 arg0)
queueMessage(Text message)
func_238495_b_(ITextComponent arg0)