net.minecraft.network.packet.c2s.play

public record PlayerSessionC2SPacket

implements Packet<ServerPlayPacketListener>

net.minecraft.network.protocol.game.ServerboundChatSessionUpdatePacket
net.minecraft.class_7861
net.minecraft.network.packet.c2s.play.PlayerSessionC2SPacket

Field summary

Modifier and TypeField
private final PublicPlayerSession$Serialized
chatSession
comp_1129
chatSession
public static final PacketCodec<PacketByteBuf, PlayerSessionC2SPacket>
STREAM_CODEC
field_48182
CODEC

Constructor summary

ModifierConstructor
private (PacketByteBuf buf)
public (PublicPlayerSession$Serialized chatSession)

Method summary

Modifier and TypeMethod
private void
write(FriendlyByteBuf output)
method_55966(class_2540 arg0)
write(PacketByteBuf buf)
public PacketType<PlayerSessionC2SPacket>
type()
method_65080()
getPacketType()
public void
handle(ServerGamePacketListener listener)
method_46617(class_2792 arg0)
apply(ServerPlayPacketListener arg0)
public PublicPlayerSession$Serialized
chatSession()
comp_1129()
chatSession()
public void
handle(PacketListener listener)
method_65081(class_2547 arg0)
apply(PacketListener arg0)