Class GameMessageS2CPacket
java.lang.Object
net.minecraft.network.packet.s2c.play.GameMessageS2CPacket
- All Implemented Interfaces:
Packet<ClientPlayPacketListener>
public class GameMessageS2CPacket extends Object implements Packet<ClientPlayPacketListener>
- Mappings:
Namespace Name official pt
intermediary net/minecraft/class_2635
named net/minecraft/network/packet/s2c/play/GameMessageS2CPacket
-
Field Summary
Fields Modifier and Type Field Description private MessageType
location
private Text
message
private UUID
senderUuid
-
Constructor Summary
Constructors Constructor Description GameMessageS2CPacket()
GameMessageS2CPacket(Text message, MessageType location, UUID senderUuid)
-
Method Summary
Modifier and Type Method Description void
apply(ClientPlayPacketListener clientPlayPacketListener)
MessageType
getLocation()
Text
getMessage()
UUID
getSenderUuid()
boolean
isNonChat()
boolean
isWritingErrorSkippable()
Returns whether a throwable in writing of this packet allows the connection to simply skip the packet's sending than disconnecting.void
read(PacketByteBuf buf)
void
write(PacketByteBuf buf)
-
Field Details
-
message
- Mappings:
Namespace Name Mixin selector official a
Lpt;a:Loi;
intermediary field_12112
Lnet/minecraft/class_2635;field_12112:Lnet/minecraft/class_2561;
named message
Lnet/minecraft/network/packet/s2c/play/GameMessageS2CPacket;message:Lnet/minecraft/text/Text;
-
location
- Mappings:
Namespace Name Mixin selector official b
Lpt;b:Lof;
intermediary field_12113
Lnet/minecraft/class_2635;field_12113:Lnet/minecraft/class_2556;
named location
Lnet/minecraft/network/packet/s2c/play/GameMessageS2CPacket;location:Lnet/minecraft/network/MessageType;
-
senderUuid
- Mappings:
Namespace Name Mixin selector official c
Lpt;c:Ljava/util/UUID;
intermediary field_25133
Lnet/minecraft/class_2635;field_25133:Ljava/util/UUID;
named senderUuid
Lnet/minecraft/network/packet/s2c/play/GameMessageS2CPacket;senderUuid:Ljava/util/UUID;
-
-
Constructor Details
-
GameMessageS2CPacket
public GameMessageS2CPacket() -
GameMessageS2CPacket
- Mappings:
Namespace Name Mixin selector official <init>
Lpt;<init>(Loi;Lof;Ljava/util/UUID;)V
intermediary <init>
Lnet/minecraft/class_2635;<init>(Lnet/minecraft/class_2561;Lnet/minecraft/class_2556;Ljava/util/UUID;)V
named <init>
Lnet/minecraft/network/packet/s2c/play/GameMessageS2CPacket;<init>(Lnet/minecraft/text/Text;Lnet/minecraft/network/MessageType;Ljava/util/UUID;)V
-
-
Method Details
-
read
- Specified by:
read
in interfacePacket<ClientPlayPacketListener>
- Throws:
IOException
- Mappings:
Namespace Name Mixin selector official a
Lpa;a(Lnw;)V
intermediary method_11053
Lnet/minecraft/class_2596;method_11053(Lnet/minecraft/class_2540;)V
named read
Lnet/minecraft/network/Packet;read(Lnet/minecraft/network/PacketByteBuf;)V
-
write
- Specified by:
write
in interfacePacket<ClientPlayPacketListener>
- Throws:
IOException
- Mappings:
Namespace Name Mixin selector official b
Lpa;b(Lnw;)V
intermediary method_11052
Lnet/minecraft/class_2596;method_11052(Lnet/minecraft/class_2540;)V
named write
Lnet/minecraft/network/Packet;write(Lnet/minecraft/network/PacketByteBuf;)V
-
apply
- Specified by:
apply
in interfacePacket<ClientPlayPacketListener>
- Mappings:
Namespace Name Mixin selector official a
Lpt;a(Lpd;)V
intermediary method_11386
Lnet/minecraft/class_2635;method_11386(Lnet/minecraft/class_2602;)V
named apply
Lnet/minecraft/network/packet/s2c/play/GameMessageS2CPacket;apply(Lnet/minecraft/network/listener/ClientPlayPacketListener;)V
-
getMessage
- Mappings:
Namespace Name Mixin selector official b
Lpt;b()Loi;
intermediary method_11388
Lnet/minecraft/class_2635;method_11388()Lnet/minecraft/class_2561;
named getMessage
Lnet/minecraft/network/packet/s2c/play/GameMessageS2CPacket;getMessage()Lnet/minecraft/text/Text;
-
isNonChat
public boolean isNonChat()- Mappings:
Namespace Name Mixin selector official c
Lpt;c()Z
intermediary method_11387
Lnet/minecraft/class_2635;method_11387()Z
named isNonChat
Lnet/minecraft/network/packet/s2c/play/GameMessageS2CPacket;isNonChat()Z
-
getLocation
- Mappings:
Namespace Name Mixin selector official d
Lpt;d()Lof;
intermediary method_11389
Lnet/minecraft/class_2635;method_11389()Lnet/minecraft/class_2556;
named getLocation
Lnet/minecraft/network/packet/s2c/play/GameMessageS2CPacket;getLocation()Lnet/minecraft/network/MessageType;
-
getSenderUuid
- Mappings:
Namespace Name Mixin selector official e
Lpt;e()Ljava/util/UUID;
intermediary method_29175
Lnet/minecraft/class_2635;method_29175()Ljava/util/UUID;
named getSenderUuid
Lnet/minecraft/network/packet/s2c/play/GameMessageS2CPacket;getSenderUuid()Ljava/util/UUID;
-
isWritingErrorSkippable
public boolean isWritingErrorSkippable()Returns whether a throwable in writing of this packet allows the connection to simply skip the packet's sending than disconnecting.- Specified by:
isWritingErrorSkippable
in interfacePacket<ClientPlayPacketListener>
- Mappings:
Namespace Name Mixin selector official a
Lpa;a()Z
intermediary method_11051
Lnet/minecraft/class_2596;method_11051()Z
named isWritingErrorSkippable
Lnet/minecraft/network/Packet;isWritingErrorSkippable()Z
-