net.minecraft.network.protocol.game

public record ClientboundRespawnPacket

implements Packet<ClientGamePacketListener>

aee
net.minecraft.network.protocol.game.ClientboundRespawnPacket
net.minecraft.class_2724
net.minecraft.network.packet.s2c.play.PlayerRespawnS2CPacket
net.minecraft.network.protocol.game.PacketPlayOutRespawn

Field summary

Modifier and TypeField
private final CommonPlayerSpawnInfo
e
commonPlayerSpawnInfo
comp_1728
commonPlayerSpawnInfo
private final byte
f
dataToKeep
comp_1729
flag
public static final StreamCodec<RegistryFriendlyByteBuf, ClientboundRespawnPacket>
a
STREAM_CODEC
field_47962
CODEC
public static final byte
b
KEEP_ATTRIBUTE_MODIFIERS
field_41730
KEEP_ATTRIBUTES
public static final byte
c
KEEP_ENTITY_DATA
field_41731
KEEP_TRACKED_DATA
public static final byte
d
KEEP_ALL_DATA
field_41732
KEEP_ALL

Constructor summary

ModifierConstructor
private (RegistryFriendlyByteBuf arg0)
public (CommonPlayerSpawnInfo arg0, byte arg1)

Method summary

Modifier and TypeMethod
private void
a(wa arg0)
write(RegistryFriendlyByteBuf arg0)
method_55909(class_9129 arg0)
write(RegistryByteBuf arg0)
public PacketType<ClientboundRespawnPacket>
a()
type()
method_65080()
getPacketType()
public void
a(abl arg0)
handle(ClientGamePacketListener arg0)
method_11782(class_2602 arg0)
apply(ClientPlayPacketListener arg0)
public boolean
a(byte arg0)
shouldKeep(byte arg0)
method_48016(byte arg0)
hasFlag(byte flag)
public CommonPlayerSpawnInfo
b()
commonPlayerSpawnInfo()
comp_1728()
commonPlayerSpawnInfo()
public byte
e()
dataToKeep()
comp_1729()
flag()