net.minecraft.network.protocol.game

public class ClientboundRespawnPacket

implements Packet<ClientGamePacketListener>

tp
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
private final Holder<DimensionType>
a
dimensionType
field_25322
dimensionType
f_132928_
private final ResourceKey<Level>
b
dimension
field_12431
dimension
f_132929_
private final long
c
seed
field_20667
sha256Seed
f_132930_
private final GameType
d
playerGameType
field_12434
gameMode
f_132931_
private final GameType
e
previousPlayerGameType
field_25714
previousGameMode
f_132932_
private final boolean
f
isDebug
field_24620
debugWorld
f_132933_
private final boolean
g
isFlat
field_24621
flatWorld
f_132934_
private final boolean
h
keepAllPlayerData
field_24451
keepPlayerAttributes
f_132935_

Constructor summary

ModifierConstructor
public (Holder<DimensionType> p_206644_, ResourceKey<Level> dimension, long sha256Seed, GameType gameMode, GameType previousGameMode, boolean debugWorld, boolean flatWorld, boolean keepPlayerAttributes)
public (FriendlyByteBuf buf)

Method summary

Modifier and TypeMethod
public void
a(py arg0)
write(FriendlyByteBuf arg0)
method_11052(class_2540 arg0)
write(PacketByteBuf arg0)
m_5779_(C_4983_ arg0)
public void
a(rf arg0)
handle(ClientGamePacketListener arg0)
method_11782(class_2602 arg0)
apply(ClientPlayPacketListener arg0)
m_5797_(C_5031_ arg0)
public Holder<DimensionType>
b()
getDimensionType()
method_29445()
getDimensionType()
m_206651_()
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
i()
shouldKeepAllPlayerData()
method_27904()
shouldKeepPlayerAttributes()
m_132961_()