net.minecraft.client.multiplayer.chat

public class ChatListener

eve
net.minecraft.client.multiplayer.chat.ChatListener
net.minecraft.class_7594
net.minecraft.client.network.message.MessageHandler
net.minecraft.src.C_240332_

Field summary

Modifier and TypeField
private static final Component
a
CHAT_VALIDATION_FAILED_ERROR
field_39904
CHAT_VALIDATION_FAILED_DISCONNECT_REASON
f_242497_
private final Minecraft
b
minecraft
field_39779
client
f_240348_
private final Deque<ChatListener$Message>
c
delayedMessageQueue
field_39796
delayedMessages
f_240677_
private long
d
messageDelay
field_39797
chatDelay
f_240660_
private long
e
previousMessageTime
field_39798
lastProcessTime
f_240659_

Constructor summary

ModifierConstructor
public (Minecraft client)

Method summary

Modifier and TypeMethod
public void
a()
tick()
method_44765()
processDelayedMessages()
m_240688_()
public void
a(double arg0)
setMessageDelay(double arg0)
method_44766(double arg0)
setChatDelay(double chatDelay)
m_240692_(double arg0)
public void
b()
acceptNextDelayedMessage()
method_44769()
process()
m_240711_()
public long
c()
queueSize()
method_44944()
getUnprocessedMessageCount()
m_242024_()
public void
d()
clearQueue()
method_44945()
processAll()
m_241954_()
public boolean
a(rz arg0)
removeFromDelayedMessageQueue(MessageSignature arg0)
method_44819(class_7469 arg0)
removeDelayedMessage(MessageSignatureData signature)
m_240956_(C_213508_ arg0)
private boolean
e()
willDelayMessages()
method_44775()
shouldDelay()
m_240706_()
private void
a(eve$a arg0)
handleMessage(ChatListener$Message arg0)
method_44818(class_7594$class_7627 arg0)
process(MessageHandler$ProcessableMessage message)
m_241112_(C_240332_$C_240651_ arg0)
public void
a(sd arg0, rm$a arg1)
handleChatMessage(PlayerChatMessage arg0, ChatType$Bound arg1)
method_44733(class_7471 arg0, class_2556$class_7602 arg1)
onChatMessage(SignedMessage message, MessageType$Parameters params)
m_240975_(C_213510_ p_241361_, C_4992_$C_240838_ arg1)
public void
a(sh arg0, rz arg1, byte[] arg2)
handleChatHeader(SignedMessageHeader arg0, MessageSignature arg1, byte[] arg2)
method_44820(class_7614 arg0, class_7469 arg1, byte[] arg2)
onMessageHeader(MessageHeader header, MessageSignatureData signature, byte[] bodyDigest)
m_241138_(C_240845_ p_241390_, C_213508_ p_241463_, byte[] arg2)
boolean
a(rm$a arg0, sd arg1, rq arg2, euz arg3, boolean arg4, Instant arg5)
processPlayerChatMessage(ChatType$Bound arg0, PlayerChatMessage arg1, Component arg2, PlayerInfo arg3, boolean arg4, Instant arg5)
method_44768(class_2556$class_7602 arg0, class_7471 arg1, class_2561 arg2, class_640 arg3, boolean arg4, Instant arg5)
processChatMessage(MessageType$Parameters params, SignedMessage message, Text decorated, PlayerListEntry senderEntry, boolean onlyShowSecureChat, Instant receptionTimestamp)
m_241955_(C_4992_$C_240838_ p_242174_, C_213510_ p_242417_, C_4996_ p_242459_, C_3906_ p_242346_, boolean p_242392_, Instant arg5)
private boolean
b(rm$a arg0, sd arg1, rq arg2, euz arg3, boolean arg4, Instant arg5)
showMessageToPlayer(ChatType$Bound arg0, PlayerChatMessage arg1, Component arg2, PlayerInfo arg3, boolean arg4, Instant arg5)
method_44943(class_2556$class_7602 arg0, class_7471 arg1, class_2561 arg2, class_640 arg3, boolean arg4, Instant arg5)
processChatMessageInternal(MessageType$Parameters params, SignedMessage message, Text decorated, PlayerListEntry senderEntry, boolean onlyShowSecureChat, Instant receptionTimestamp)
m_241794_(C_4992_$C_240838_ p_242317_, C_213510_ p_243337_, C_4996_ p_242267_, C_3906_ p_242247_, boolean p_242230_, Instant arg5)
boolean
a(rm$a arg0, sd arg1, rq arg2)
processNonPlayerChatMessage(ChatType$Bound arg0, PlayerChatMessage arg1, Component arg2)
method_44767(class_2556$class_7602 arg0, class_7471 arg1, class_2561 arg2)
processProfilelessMessage(MessageType$Parameters params, SignedMessage message, Text decorated)
m_241171_(C_4992_$C_240838_ p_241542_, C_213510_ p_241510_, C_4996_ arg2)
boolean
b(sh arg0, rz arg1, byte[] arg2)
processPlayerChatHeader(SignedMessageHeader arg0, MessageSignature arg1, byte[] arg2)
method_44821(class_7614 arg0, class_7469 arg1, byte[] arg2)
processHeader(MessageHeader header, MessageSignatureData signature, byte[] bodyDigest)
m_241023_(C_240845_ p_241535_, C_213508_ p_241500_, byte[] arg2)
private void
f()
onChatChainBroken()
method_45031()
disconnect()
m_242665_()
private void
a(rm$a arg0, rq arg1)
narrateChatMessage(ChatType$Bound arg0, Component arg1)
method_44772(class_2556$class_7602 arg0, class_2561 arg1)
narrate(MessageType$Parameters params, Text message)
m_241119_(C_4992_$C_240838_ p_243262_, C_4996_ arg1)
private ChatTrustLevel
a(sd arg0, rq arg1, euz arg2, Instant arg3)
evaluateTrustLevel(PlayerChatMessage arg0, Component arg1, PlayerInfo arg2, Instant arg3)
method_44732(class_7471 arg0, class_2561 arg1, class_640 arg2, Instant arg3)
getStatus(SignedMessage message, Text decorated, PlayerListEntry senderEntry, Instant receptionTimestamp)
m_241839_(C_213510_ p_242452_, C_4996_ p_242405_, C_3906_ p_242401_, Instant arg3)
private void
a(sd arg0, rm$a arg1, euz arg2, evh arg3)
logPlayerMessage(PlayerChatMessage arg0, ChatType$Bound arg1, PlayerInfo arg2, ChatTrustLevel arg3)
method_44737(class_7471 arg0, class_2556$class_7602 arg1, class_640 arg2, class_7595 arg3)
addToChatLog(SignedMessage message, MessageType$Parameters params, PlayerListEntry senderEntry, MessageTrustStatus trustStatus)
m_240957_(C_213510_ p_241355_, C_4992_$C_240838_ p_241489_, C_3906_ p_241528_, C_240335_ arg3)
private void
a(rq arg0, Instant arg1)
logSystemMessage(Component arg0, Instant arg1)
method_44735(class_2561 arg0, Instant arg1)
addToChatLog(Text message, Instant timestamp)
m_240498_(C_4996_ p_240541_, Instant arg1)
private void
c(sh arg0, rz arg1, byte[] arg2)
logPlayerHeader(SignedMessageHeader arg0, MessageSignature arg1, byte[] arg2)
method_44822(class_7614 arg0, class_7469 arg1, byte[] arg2)
addToChatLog(MessageHeader header, MessageSignatureData signatures, byte[] bodyDigest)
m_241013_(C_240845_ p_241317_, C_213508_ p_241565_, byte[] arg2)
private PlayerInfo
a(UUID arg0)
resolveSenderPlayer(UUID arg0)
method_44731(UUID arg0)
getPlayerListEntry(UUID sender)
m_241129_(UUID arg0)
public void
a(rq arg0, boolean arg1)
handleSystemMessage(Component arg0, boolean arg1)
method_44736(class_2561 arg0, boolean arg1)
onGameMessage(Text message, boolean overlay)
m_240494_(C_4996_ p_240642_, boolean arg1)
private UUID
a(rq arg0)
guessChatUUID(Component arg0)
method_44734(class_2561 arg0)
extractSender(Text text)
m_240473_(C_4996_ arg0)
private boolean
b(UUID arg0)
isSenderLocalPlayer(UUID arg0)
method_44738(UUID arg0)
isAlwaysTrusted(UUID sender)
m_240963_(UUID arg0)