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

    • KEEP_ATTRIBUTES

      public static final byte KEEP_ATTRIBUTES
      See Also:
    • KEEP_ENTITY_DATA

      public static final byte KEEP_ENTITY_DATA
      See Also:
    • KEEP_ALL_DATA

      public static final byte KEEP_ALL_DATA
      See Also:
    • dimensionType

      private final ResourceKey<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
    • dataToKeep

      private final byte dataToKeep
    • lastDeathLocation

      private final Optional<GlobalPos> lastDeathLocation
    • portalCooldown

      private final int portalCooldown
  • Constructor Details

  • Method Details