net.minecraft.client.gui.components

public class ChatComponent

extends GuiComponent

dnj
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>
d
allMessages
field_2061
messages
field_146252_h
private final List<GuiMessage>
e
trimmedMessages
field_2064
visibleMessages
field_146253_i
private final Deque<Component>
i
chatQueue
field_23934
field_23934
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
field_23935
field_238490_l_

Constructor summary

ModifierConstructor
public (Minecraft arg0)

Method summary

Modifier and TypeMethod
public void
a(dhl arg0, int arg1)
render(PoseStack arg0, int arg1)
method_1805(class_4587 arg0, int arg1)
render(MatrixStack arg0, int arg1)
func_238492_a_(MatrixStack arg0, int arg1)
private boolean
i()
isChatHidden()
method_23677()
method_23677()
func_238496_i_()
private static double
b(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(mr arg0)
addMessage(Component arg0)
method_1812(class_2561 arg0)
addMessage(Text message)
func_146227_a(ITextComponent arg0)
public void
a(mr 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(mu arg0, int arg1, int arg2, boolean arg3)
addMessage(FormattedText arg0, int arg1, int arg2, boolean arg3)
method_1815(class_5348 arg0, int arg1, int arg2, boolean arg3)
addMessage(StringRenderable arg0, int messageId, int timestamp, boolean arg3)
func_238493_a_(ITextProperties 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)
method_27146(double arg0, double arg1)
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)
public boolean
d()
isChatFocused()
method_1819()
isChatFocused()
func_146241_e()
public void
a(int arg0)
removeById(int arg0)
method_1807(int arg0)
removeMessage(int messageId)
func_146242_c(int arg0)
public int
e()
getWidth()
method_1811()
getWidth()
func_146228_f()
public int
f()
getHeight()
method_1810()
getHeight()
func_146246_g()
public double
g()
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
h()
getLinesPerPage()
method_1813()
getVisibleLineCount()
func_146232_i()
private long
j()
getChatRateMillis()
method_27148()
method_27148()
func_238497_j_()
private void
k()
processPendingMessages()
method_27149()
method_27149()
func_238498_k_()
public void
b(mr arg0)
enqueueMessage(Component arg0)
method_27147(class_2561 arg0)
method_27147(Text arg0)
func_238495_b_(ITextComponent arg0)