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 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(DimensionType p_132938_, ResourceKey<Level> p_132939_, long p_132940_, GameType p_132941_, @Nullable GameType p_132942_, boolean p_132943_, boolean p_132944_, boolean p_132945_)
    • ClientboundRespawnPacket

      public ClientboundRespawnPacket(FriendlyByteBuf p_179191_)
  • Method Details