Package net.minecraft.network.message
Class SentMessage.Chat
java.lang.Object
net.minecraft.network.message.SentMessage.Chat
- All Implemented Interfaces:
SentMessage
- Enclosing interface:
SentMessage
The wrapper used for normal chat messages.
Text filtering can cause some players to not receive this kind of message. Message header is sent separately to those players.
- Mappings:
Namespace Name official sc$b
intermediary net/minecraft/class_7604$class_7607
named net/minecraft/network/message/SentMessage$Chat
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.network.message.SentMessage
SentMessage.Chat, SentMessage.Profileless
-
Field Summary
Modifier and TypeFieldDescriptionprivate final SignedMessage
private final Set<ServerPlayerEntity>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
afterPacketsSent
(PlayerManager playerManager) Called after sending the message to applicable clients.void
send
(ServerPlayerEntity sender, boolean filterMaskEnabled, MessageType.Parameters params)
-
Field Details
-
message
- Mappings:
Namespace Name Mixin selector official a
Lsc$b;a:Lsd;
intermediary field_39815
Lnet/minecraft/class_7604$class_7607;field_39815:Lnet/minecraft/class_7471;
named message
Lnet/minecraft/network/message/SentMessage$Chat;message:Lnet/minecraft/network/message/SignedMessage;
-
recipients
- Mappings:
Namespace Name Mixin selector official b
Lsc$b;b:Ljava/util/Set;
intermediary field_39816
Lnet/minecraft/class_7604$class_7607;field_39816:Ljava/util/Set;
named recipients
Lnet/minecraft/network/message/SentMessage$Chat;recipients:Ljava/util/Set;
-
-
Constructor Details
-
Chat
- Mappings:
Namespace Name Mixin selector official <init>
Lsc$b;<init>(Lsd;)V
intermediary <init>
Lnet/minecraft/class_7604$class_7607;<init>(Lnet/minecraft/class_7471;)V
named <init>
Lnet/minecraft/network/message/SentMessage$Chat;<init>(Lnet/minecraft/network/message/SignedMessage;)V
-
-
Method Details
-
getContent
- Specified by:
getContent
in interfaceSentMessage
- Mappings:
Namespace Name Mixin selector official a
Lsc;a()Lrq;
intermediary method_45039
Lnet/minecraft/class_7604;method_45039()Lnet/minecraft/class_2561;
named getContent
Lnet/minecraft/network/message/SentMessage;getContent()Lnet/minecraft/text/Text;
-
send
public void send(ServerPlayerEntity sender, boolean filterMaskEnabled, MessageType.Parameters params) - Specified by:
send
in interfaceSentMessage
- Mappings:
Namespace Name Mixin selector official a
Lsc;a(Lagh;ZLrm$a;)V
intermediary method_45095
Lnet/minecraft/class_7604;method_45095(Lnet/minecraft/class_3222;ZLnet/minecraft/class_2556$class_7602;)V
named send
Lnet/minecraft/network/message/SentMessage;send(Lnet/minecraft/server/network/ServerPlayerEntity;ZLnet/minecraft/network/message/MessageType$Parameters;)V
-
afterPacketsSent
Called after sending the message to applicable clients.- Specified by:
afterPacketsSent
in interfaceSentMessage
- See Also:
- Mappings:
Namespace Name Mixin selector official a
Lsc;a(Laiz;)V
intermediary method_44856
Lnet/minecraft/class_7604;method_44856(Lnet/minecraft/class_3324;)V
named afterPacketsSent
Lnet/minecraft/network/message/SentMessage;afterPacketsSent(Lnet/minecraft/server/PlayerManager;)V
-