net.minecraft.network.protocol.game

public class ClientboundRespawnPacket

implements Packet<ClientGamePacketListener>

xs
net.minecraft.network.protocol.game.ClientboundRespawnPacket
net.minecraft.class_2724
net.minecraft.network.packet.s2c.play.PlayerRespawnS2CPacket
net.minecraft.src.C_5103_
net.minecraft.network.protocol.game.PacketPlayOutRespawn

Field summary

Modifier and TypeField
public static final byte
a
KEEP_ATTRIBUTES
field_41730
KEEP_ATTRIBUTES
f_263551_
public static final byte
b
KEEP_ENTITY_DATA
field_41731
KEEP_TRACKED_DATA
f_263552_
public static final byte
c
KEEP_ALL_DATA
field_41732
KEEP_ALL
f_263554_
private final ResourceKey<DimensionType>
d
dimensionType
field_25322
dimensionType
f_132928_
private final ResourceKey<Level>
e
dimension
field_12431
dimension
f_132929_
private final long
f
seed
field_20667
sha256Seed
f_132930_
private final GameType
g
playerGameType
field_12434
gameMode
f_132931_
private final GameType
h
previousPlayerGameType
field_25714
previousGameMode
f_132932_
private final boolean
i
isDebug
field_24620
debugWorld
f_132933_
private final boolean
j
isFlat
field_24621
flatWorld
f_132934_
private final byte
k
dataToKeep
field_41733
flag
f_263553_
private final Optional<GlobalPos>
l
lastDeathLocation
field_39447
lastDeathPos
f_238183_

Constructor summary

ModifierConstructor
public (ResourceKey<DimensionType> dimensionType, ResourceKey<Level> dimension, long sha256Seed, GameType gameMode, GameType previousGameMode, boolean debugWorld, boolean flatWorld, byte flag, Optional<GlobalPos> lastDeathPos)
public (FriendlyByteBuf buf)

Method summary

Modifier and TypeMethod
public void
a(ss arg0)
write(FriendlyByteBuf arg0)
method_11052(class_2540 arg0)
write(PacketByteBuf arg0)
m_5779_(C_4983_ arg0)
public void
a(ve arg0)
handle(ClientGamePacketListener arg0)
method_11782(class_2602 arg0)
apply(ClientPlayPacketListener arg0)
m_5797_(C_5031_ arg0)
public ResourceKey<DimensionType>
a()
getDimensionType()
method_29445()
getDimensionType()
m_237794_()
public ResourceKey<Level>
c()
getDimension()
method_11779()
getDimension()
m_132955_()
public long
d()
getSeed()
method_22425()
getSha256Seed()
m_132956_()
public GameType
e()
getPlayerGameType()
method_11780()
getGameMode()
m_132957_()
public GameType
f()
getPreviousPlayerGameType()
method_30117()
getPreviousGameMode()
m_132958_()
public boolean
g()
isDebug()
method_28120()
isDebugWorld()
m_132959_()
public boolean
h()
isFlat()
method_28121()
isFlatWorld()
m_132960_()
public boolean
a(byte arg0)
shouldKeep(byte arg0)
method_48016(byte arg0)
hasFlag(byte flag)
m_263558_(byte arg0)
public Optional<GlobalPos>
i()
getLastDeathLocation()
method_44326()
getLastDeathPos()
m_237785_()