Uses of Record Class
net.minecraft.network.chat.ChatType.Bound
Packages that use ChatType.Bound
Package
Description
Events fired only on the client-side, chiefly related to rendering and user interfaces (screens and input).
-
Uses of ChatType.Bound in net.minecraft.client.multiplayer.chat
Methods in net.minecraft.client.multiplayer.chat with parameters of type ChatType.BoundModifier and TypeMethodDescriptionvoid
ChatListener.handleChatMessageError
(UUID p_299306_, ChatType.Bound p_298901_) void
ChatListener.handleDisguisedChatMessage
(Component p_250375_, ChatType.Bound p_251256_) void
ChatListener.handlePlayerChatMessage
(PlayerChatMessage p_251553_, com.mojang.authlib.GameProfile p_250022_, ChatType.Bound p_252158_) private void
ChatListener.logPlayerMessage
(PlayerChatMessage p_252155_, ChatType.Bound p_249730_, com.mojang.authlib.GameProfile p_248589_, ChatTrustLevel p_248881_) private void
ChatListener.narrateChatMessage
(ChatType.Bound p_241352_, Component p_243262_) private boolean
ChatListener.showMessageToPlayer
(ChatType.Bound p_251766_, PlayerChatMessage p_249430_, Component p_249231_, com.mojang.authlib.GameProfile p_249177_, boolean p_251638_, Instant p_249665_) -
Uses of ChatType.Bound in net.minecraft.commands
Methods in net.minecraft.commands with parameters of type ChatType.BoundModifier and TypeMethodDescriptionvoid
CommandSourceStack.sendChatMessage
(OutgoingChatMessage p_251464_, boolean p_252146_, ChatType.Bound p_250406_) -
Uses of ChatType.Bound in net.minecraft.network.chat
Fields in net.minecraft.network.chat with type parameters of type ChatType.BoundModifier and TypeFieldDescriptionstatic final StreamCodec
<RegistryFriendlyByteBuf, ChatType.Bound> ChatType.Bound.STREAM_CODEC
Methods in net.minecraft.network.chat that return ChatType.BoundModifier and TypeMethodDescriptionstatic ChatType.Bound
ChatType.bind
(ResourceKey<ChatType> p_241345_, CommandSourceStack p_241466_) static ChatType.Bound
ChatType.bind
(ResourceKey<ChatType> p_241284_, RegistryAccess p_241373_, Component p_241455_) static ChatType.Bound
ChatType.bind
(ResourceKey<ChatType> p_241279_, Entity p_241483_) ChatType.Bound.withTargetName
(Component p_241530_) Methods in net.minecraft.network.chat with parameters of type ChatType.BoundModifier and TypeMethodDescriptionChatTypeDecoration.decorate
(Component p_241301_, ChatType.Bound p_241391_) private Component[]
ChatTypeDecoration.resolveParameters
(Component p_241365_, ChatType.Bound p_241559_) ChatTypeDecoration.Parameter.select
(Component p_241369_, ChatType.Bound p_241509_) ChatTypeDecoration.Parameter.Selector.select
(Component p_239620_, ChatType.Bound p_241499_) void
OutgoingChatMessage.Disguised.sendToPlayer
(ServerPlayer p_249237_, boolean p_249574_, ChatType.Bound p_250880_) void
OutgoingChatMessage.Player.sendToPlayer
(ServerPlayer p_249642_, boolean p_251123_, ChatType.Bound p_251482_) void
OutgoingChatMessage.sendToPlayer
(ServerPlayer p_250979_, boolean p_249307_, ChatType.Bound p_252281_) -
Uses of ChatType.Bound in net.minecraft.network.protocol.game
Fields in net.minecraft.network.protocol.game declared as ChatType.BoundModifier and TypeFieldDescriptionprivate final ChatType.Bound
ClientboundDisguisedChatPacket.chatType
The field for thechatType
record component.private final ChatType.Bound
ClientboundPlayerChatPacket.chatType
The field for thechatType
record component.Methods in net.minecraft.network.protocol.game that return ChatType.BoundModifier and TypeMethodDescriptionClientboundDisguisedChatPacket.chatType()
Returns the value of thechatType
record component.ClientboundPlayerChatPacket.chatType()
Returns the value of thechatType
record component.Constructors in net.minecraft.network.protocol.game with parameters of type ChatType.BoundModifierConstructorDescriptionClientboundDisguisedChatPacket
(Component message, ChatType.Bound chatType) Creates an instance of aClientboundDisguisedChatPacket
record class.ClientboundPlayerChatPacket
(UUID sender, int index, MessageSignature signature, SignedMessageBody.Packed body, Component unsignedContent, FilterMask filterMask, ChatType.Bound chatType) Creates an instance of aClientboundPlayerChatPacket
record class. -
Uses of ChatType.Bound in net.minecraft.server
Methods in net.minecraft.server with parameters of type ChatType.BoundModifier and TypeMethodDescriptionvoid
MinecraftServer.logChatMessage
(Component p_241503_, ChatType.Bound p_241402_, String p_241481_) -
Uses of ChatType.Bound in net.minecraft.server.level
Methods in net.minecraft.server.level with parameters of type ChatType.BoundModifier and TypeMethodDescriptionvoid
ServerPlayer.sendChatMessage
(OutgoingChatMessage p_249852_, boolean p_250110_, ChatType.Bound p_252108_) -
Uses of ChatType.Bound in net.minecraft.server.network
Methods in net.minecraft.server.network with parameters of type ChatType.BoundModifier and TypeMethodDescriptionvoid
ServerGamePacketListenerImpl.sendDisguisedChatMessage
(Component p_251804_, ChatType.Bound p_250040_) void
ServerGamePacketListenerImpl.sendPlayerChatMessage
(PlayerChatMessage p_250321_, ChatType.Bound p_250910_) -
Uses of ChatType.Bound in net.minecraft.server.players
Methods in net.minecraft.server.players with parameters of type ChatType.BoundModifier and TypeMethodDescriptionprivate void
PlayerList.broadcastChatMessage
(PlayerChatMessage p_249952_, Predicate<ServerPlayer> p_250784_, ServerPlayer p_249623_, ChatType.Bound p_250276_) 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_) -
Uses of ChatType.Bound in net.neoforged.neoforge.client
Methods in net.neoforged.neoforge.client with parameters of type ChatType.BoundModifier and TypeMethodDescriptionstatic @Nullable Component
ClientHooks.onClientChat
(ChatType.Bound boundChatType, Component message, UUID sender) static @Nullable Component
ClientHooks.onClientPlayerChat
(ChatType.Bound boundChatType, Component message, PlayerChatMessage playerChatMessage, UUID sender) -
Uses of ChatType.Bound in net.neoforged.neoforge.client.event
Fields in net.neoforged.neoforge.client.event declared as ChatType.BoundModifier and TypeFieldDescriptionprivate final ChatType.Bound
ClientChatReceivedEvent.boundChatType
Methods in net.neoforged.neoforge.client.event that return ChatType.BoundModifier and TypeMethodDescriptionClientChatReceivedEvent.getBoundChatType()
Returns the bound chat type of the chat message.Constructors in net.neoforged.neoforge.client.event with parameters of type ChatType.BoundModifierConstructorDescriptionClientChatReceivedEvent
(ChatType.Bound boundChatType, Component message, UUID sender) Player
(ChatType.Bound boundChatType, Component message, PlayerChatMessage playerChatMessage, UUID sender) -
Uses of ChatType.Bound in net.neoforged.neoforge.common.util
Methods in net.neoforged.neoforge.common.util with parameters of type ChatType.BoundModifier and TypeMethodDescriptionvoid
FakePlayer.FakePlayerNetHandler.sendDisguisedChatMessage
(Component content, ChatType.Bound boundChatType) void
FakePlayer.FakePlayerNetHandler.sendPlayerChatMessage
(PlayerChatMessage message, ChatType.Bound boundChatType)