Class ClientboundRespawnPacket

java.lang.Object
net.minecraft.network.protocol.game.ClientboundRespawnPacket
All Implemented Interfaces:
Packet<ClientGamePacketListener>

public class ClientboundRespawnPacket extends Object implements Packet<ClientGamePacketListener>
  • Field Details

    • dimensionType

      private final Holder<DimensionType> dimensionType
    • dimension

      private final ResourceKey<Level> dimension
    • seed

      private final long seed
    • playerGameType

      private final GameType playerGameType
    • previousPlayerGameType

      @Nullable private final GameType previousPlayerGameType
    • isDebug

      private final boolean isDebug
    • isFlat

      private final boolean isFlat
    • keepAllPlayerData

      private final boolean keepAllPlayerData
  • Constructor Details

    • ClientboundRespawnPacket

      public ClientboundRespawnPacket(Holder<DimensionType> p_206643_, ResourceKey<Level> p_206644_, long p_206645_, GameType p_206646_, @Nullable GameType p_206647_, boolean p_206648_, boolean p_206649_, boolean p_206650_)
    • ClientboundRespawnPacket

      public ClientboundRespawnPacket(FriendlyByteBuf p_179191_)
  • Method Details