Uses of Record Class
net.minecraft.network.chat.PlayerChatMessage
Package
Description
Events fired only on the client-side, chiefly related to rendering and user interfaces (screens and input).
-
Uses of PlayerChatMessage in net.minecraft.client.multiplayer
Modifier and TypeMethodDescriptionvoid
ClientPacketListener.markMessageAsProcessed
(PlayerChatMessage p_242356_, boolean p_242455_) -
Uses of PlayerChatMessage in net.minecraft.client.multiplayer.chat
Modifier and TypeFieldDescriptionprivate final PlayerChatMessage
LoggedChatMessage.Player.message
The field for themessage
record component.Modifier and TypeMethodDescriptionLoggedChatMessage.Player.message()
Returns the value of themessage
record component.Modifier and TypeMethodDescriptionChatTrustLevel.createTag
(PlayerChatMessage p_240632_) static ChatTrustLevel
ChatTrustLevel.evaluate
(PlayerChatMessage p_240613_, Component p_240570_, PlayerInfo p_240623_, Instant p_242386_) private ChatTrustLevel
ChatListener.evaluateTrustLevel
(PlayerChatMessage p_242369_, Component p_242452_, PlayerInfo p_242405_, Instant p_242401_) void
ChatListener.handleChatMessage
(PlayerChatMessage p_241568_, ChatType.Bound p_241361_) private void
ChatListener.logPlayerMessage
(PlayerChatMessage p_241337_, ChatType.Bound p_241355_, PlayerInfo p_241489_, ChatTrustLevel p_241528_) static LoggedChatMessage.Player
LoggedChatMessage.player
(com.mojang.authlib.GameProfile p_242244_, Component p_242277_, PlayerChatMessage p_242412_, ChatTrustLevel p_242155_) (package private) boolean
ChatListener.processNonPlayerChatMessage
(ChatType.Bound p_241518_, PlayerChatMessage p_241542_, Component p_241510_) (package private) boolean
ChatListener.processPlayerChatMessage
(ChatType.Bound p_242406_, PlayerChatMessage p_242174_, Component p_242417_, PlayerInfo p_242459_, boolean p_242346_, Instant p_242392_) private boolean
ChatListener.showMessageToPlayer
(ChatType.Bound p_242290_, PlayerChatMessage p_242317_, Component p_243337_, PlayerInfo p_242267_, boolean p_242247_, Instant p_242230_) ModifierConstructorDescriptionPlayer
(com.mojang.authlib.GameProfile profile, Component displayName, PlayerChatMessage message, ChatTrustLevel trustLevel) Creates an instance of aPlayer
record class. -
Uses of PlayerChatMessage in net.minecraft.client.multiplayer.chat.report
Modifier and TypeMethodDescriptionprivate static it.unimi.dsi.fastutil.ints.IntCollection
ChatReportBuilder.messageReferences
(ChatLog p_242933_, int p_242860_, PlayerChatMessage p_242922_) -
Uses of PlayerChatMessage in net.minecraft.commands
Modifier and TypeFieldDescriptionprivate final Map<String,
PlayerChatMessage> CommandSigningContext.SignedArguments.arguments
The field for thearguments
record component.Modifier and TypeMethodDescriptionCommandSigningContext.getArgument
(String p_230580_) CommandSigningContext.SignedArguments.getArgument
(String p_242852_) Modifier and TypeMethodDescriptionCommandSigningContext.SignedArguments.arguments()
Returns the value of thearguments
record component.ModifierConstructorDescriptionSignedArguments
(Map<String, PlayerChatMessage> arguments) Creates an instance of aSignedArguments
record class. -
Uses of PlayerChatMessage in net.minecraft.commands.arguments
Modifier and TypeFieldDescriptionprivate final PlayerChatMessage
MessageArgument.ChatMessage.signedArgument
The field for thesignedArgument
record component.Modifier and TypeMethodDescriptionMessageArgument.ChatMessage.signedArgument()
Returns the value of thesignedArgument
record component.Modifier and TypeMethodDescriptionvoid
MessageArgument.ChatMessage.resolve
(CommandSourceStack p_242313_, Consumer<PlayerChatMessage> p_242409_) ModifierConstructorDescriptionChatMessage
(PlayerChatMessage signedArgument) Creates an instance of aChatMessage
record class. -
Uses of PlayerChatMessage in net.minecraft.network.chat
Modifier and TypeFieldDescriptionprivate final PlayerChatMessage
OutgoingPlayerChatMessage.NotTracked.message
private final PlayerChatMessage
OutgoingPlayerChatMessage.Tracked.message
Modifier and TypeMethodDescriptionstatic PlayerChatMessage
ChatDecorator.attachIfNotDecorated
(PlayerChatMessage p_243303_, Component p_243232_) PlayerChatMessage.filter
(boolean p_243223_) PlayerChatMessage.filter
(FilterMask p_243320_) PlayerChatMessage.removeUnsignedContent()
static PlayerChatMessage
PlayerChatMessage.system
(ChatMessageContent p_242910_) SignedMessageChain.Decoder.unpack
(SignedMessageChain.Link p_241336_, MessageSigner p_241433_, ChatMessageContent p_242259_, LastSeenMessages p_242265_) private static PlayerChatMessage
SignedMessageChain.unpack
(SignedMessageChain.Link p_242261_, MessageSignature p_242207_, MessageSigner p_242248_, ChatMessageContent p_242304_, LastSeenMessages p_242200_) private PlayerChatMessage
SignedMessageChain.unpack
(SignedMessageChain.Link p_242429_, MessageSigner p_242380_, ChatMessageContent p_242233_, LastSeenMessages p_242352_) static PlayerChatMessage
PlayerChatMessage.unsigned
(MessageSigner p_243247_, ChatMessageContent p_243279_) PlayerChatMessage.withUnsignedContent
(Component p_242164_) Modifier and TypeMethodDescriptiondefault CompletableFuture<PlayerChatMessage>
ChatDecorator.decorate
(ServerPlayer p_243328_, PlayerChatMessage p_243294_) Modifier and TypeMethodDescriptionstatic PlayerChatMessage
ChatDecorator.attachIfNotDecorated
(PlayerChatMessage p_243303_, Component p_243232_) static OutgoingPlayerChatMessage
OutgoingPlayerChatMessage.create
(PlayerChatMessage p_242935_) default CompletableFuture<PlayerChatMessage>
ChatDecorator.decorate
(ServerPlayer p_243328_, PlayerChatMessage p_243294_) SignedMessageValidator.KeyBased.validateMessage
(PlayerChatMessage p_242943_) SignedMessageValidator.Unsigned.validateMessage
(PlayerChatMessage p_243296_) SignedMessageValidator.validateMessage
(PlayerChatMessage p_241552_) ModifierConstructorDescriptionNotTracked
(PlayerChatMessage p_241413_) Tracked
(PlayerChatMessage p_241558_) -
Uses of PlayerChatMessage in net.minecraft.network.protocol.game
Modifier and TypeFieldDescriptionprivate final PlayerChatMessage
ClientboundPlayerChatPacket.message
The field for themessage
record component.Modifier and TypeMethodDescriptionClientboundPlayerChatPacket.message()
Returns the value of themessage
record component.ModifierConstructorDescriptionClientboundPlayerChatPacket
(PlayerChatMessage message, ChatType.BoundNetwork chatType) Creates an instance of aClientboundPlayerChatPacket
record class. -
Uses of PlayerChatMessage in net.minecraft.server.network
Modifier and TypeMethodDescriptionprivate PlayerChatMessage
ServerGamePacketListenerImpl.getSignedMessage
(ServerboundChatPacket p_242875_) Modifier and TypeMethodDescriptionprivate Map<String,
PlayerChatMessage> ServerGamePacketListenerImpl.collectSignedArguments
(ServerboundChatCommandPacket p_242876_, PreviewableCommand<?> p_242848_) Modifier and TypeMethodDescriptionvoid
ServerGamePacketListenerImpl.addPendingMessage
(PlayerChatMessage p_242439_) private void
ServerGamePacketListenerImpl.broadcastChatMessage
(PlayerChatMessage p_243277_) private boolean
ServerGamePacketListenerImpl.verifyChatMessage
(PlayerChatMessage p_242942_) -
Uses of PlayerChatMessage in net.minecraft.server.players
Modifier and TypeMethodDescriptionprivate void
PlayerList.broadcastChatMessage
(PlayerChatMessage p_243322_, Predicate<ServerPlayer> p_243313_, ServerPlayer p_243233_, ChatSender p_243228_, ChatType.Bound p_243291_) void
PlayerList.broadcastChatMessage
(PlayerChatMessage p_243229_, CommandSourceStack p_243254_, ChatType.Bound p_243255_) void
PlayerList.broadcastChatMessage
(PlayerChatMessage p_243264_, ServerPlayer p_243234_, ChatType.Bound p_243204_) void
PlayerList.broadcastMessageHeader
(PlayerChatMessage p_241532_, Set<ServerPlayer> p_241429_) private boolean
PlayerList.verifyChatTrusted
(PlayerChatMessage p_241287_, ChatSender p_241412_) -
Uses of PlayerChatMessage in net.minecraftforge.client
Modifier and TypeMethodDescriptionstatic @Nullable Component
ForgeHooksClient.onClientChat
(ChatType.Bound boundChatType, Component message, PlayerChatMessage playerChatMessage, MessageSigner messageSigner) -
Uses of PlayerChatMessage in net.minecraftforge.client.event
Modifier and TypeFieldDescriptionprivate final PlayerChatMessage
ClientChatReceivedEvent.playerChatMessage
Modifier and TypeMethodDescriptionClientChatReceivedEvent.getPlayerChatMessage()
Returns the full player chat message.ModifierConstructorDescriptionprivate
ClientChatReceivedEvent
(ChatType.Bound boundChatType, Component message, PlayerChatMessage playerChatMessage) ClientChatReceivedEvent
(ChatType.Bound boundChatType, Component message, PlayerChatMessage playerChatMessage, MessageSigner messageSigner)