Class PlayerRespawnS2CPacket

java.lang.Object
net.minecraft.network.packet.s2c.play.PlayerRespawnS2CPacket
All Implemented Interfaces:
Packet<ClientPlayPacketListener>

public class PlayerRespawnS2CPacket extends Object implements Packet<ClientPlayPacketListener>
Mappings:
Namespace Name
official sy
intermediary net/minecraft/class_2724
named net/minecraft/network/packet/s2c/play/PlayerRespawnS2CPacket
  • Field Details

    • dimensionType

      private final DimensionType dimensionType
      Mappings:
      Namespace Name Mixin selector
      official a Lsy;a:Lcqy;
      intermediary field_25322 Lnet/minecraft/class_2724;field_25322:Lnet/minecraft/class_2874;
      named dimensionType Lnet/minecraft/network/packet/s2c/play/PlayerRespawnS2CPacket;dimensionType:Lnet/minecraft/world/dimension/DimensionType;
    • dimension

      private final RegistryKey<World> dimension
      Mappings:
      Namespace Name Mixin selector
      official b Lsy;b:Lya;
      intermediary field_12431 Lnet/minecraft/class_2724;field_12431:Lnet/minecraft/class_5321;
      named dimension Lnet/minecraft/network/packet/s2c/play/PlayerRespawnS2CPacket;dimension:Lnet/minecraft/util/registry/RegistryKey;
    • sha256Seed

      private final long sha256Seed
      Mappings:
      Namespace Name Mixin selector
      official c Lsy;c:J
      intermediary field_20667 Lnet/minecraft/class_2724;field_20667:J
      named sha256Seed Lnet/minecraft/network/packet/s2c/play/PlayerRespawnS2CPacket;sha256Seed:J
    • gameMode

      private final GameMode gameMode
      Mappings:
      Namespace Name Mixin selector
      official d Lsy;d:Lbzt;
      intermediary field_12434 Lnet/minecraft/class_2724;field_12434:Lnet/minecraft/class_1934;
      named gameMode Lnet/minecraft/network/packet/s2c/play/PlayerRespawnS2CPacket;gameMode:Lnet/minecraft/world/GameMode;
    • previousGameMode

      @Nullable private final @Nullable GameMode previousGameMode
      Mappings:
      Namespace Name Mixin selector
      official e Lsy;e:Lbzt;
      intermediary field_25714 Lnet/minecraft/class_2724;field_25714:Lnet/minecraft/class_1934;
      named previousGameMode Lnet/minecraft/network/packet/s2c/play/PlayerRespawnS2CPacket;previousGameMode:Lnet/minecraft/world/GameMode;
    • debugWorld

      private final boolean debugWorld
      Mappings:
      Namespace Name Mixin selector
      official f Lsy;f:Z
      intermediary field_24620 Lnet/minecraft/class_2724;field_24620:Z
      named debugWorld Lnet/minecraft/network/packet/s2c/play/PlayerRespawnS2CPacket;debugWorld:Z
    • flatWorld

      private final boolean flatWorld
      Mappings:
      Namespace Name Mixin selector
      official g Lsy;g:Z
      intermediary field_24621 Lnet/minecraft/class_2724;field_24621:Z
      named flatWorld Lnet/minecraft/network/packet/s2c/play/PlayerRespawnS2CPacket;flatWorld:Z
    • keepPlayerAttributes

      private final boolean keepPlayerAttributes
      Mappings:
      Namespace Name Mixin selector
      official h Lsy;h:Z
      intermediary field_24451 Lnet/minecraft/class_2724;field_24451:Z
      named keepPlayerAttributes Lnet/minecraft/network/packet/s2c/play/PlayerRespawnS2CPacket;keepPlayerAttributes:Z
  • Constructor Details

    • PlayerRespawnS2CPacket

      public PlayerRespawnS2CPacket(DimensionType dimensionType, RegistryKey<World> dimension, long sha256Seed, GameMode gameMode, @Nullable @Nullable GameMode previousGameMode, boolean debugWorld, boolean flatWorld, boolean keepPlayerAttributes)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lsy;<init>(Lcqy;Lya;JLbzt;Lbzt;ZZZ)V
      intermediary <init> Lnet/minecraft/class_2724;<init>(Lnet/minecraft/class_2874;Lnet/minecraft/class_5321;JLnet/minecraft/class_1934;Lnet/minecraft/class_1934;ZZZ)V
      named <init> Lnet/minecraft/network/packet/s2c/play/PlayerRespawnS2CPacket;<init>(Lnet/minecraft/world/dimension/DimensionType;Lnet/minecraft/util/registry/RegistryKey;JLnet/minecraft/world/GameMode;Lnet/minecraft/world/GameMode;ZZZ)V
    • PlayerRespawnS2CPacket

      public PlayerRespawnS2CPacket(PacketByteBuf buf)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lsy;<init>(Lph;)V
      intermediary <init> Lnet/minecraft/class_2724;<init>(Lnet/minecraft/class_2540;)V
      named <init> Lnet/minecraft/network/packet/s2c/play/PlayerRespawnS2CPacket;<init>(Lnet/minecraft/network/PacketByteBuf;)V
  • Method Details

    • write

      public void write(PacketByteBuf buf)
      Specified by:
      write in interface Packet<ClientPlayPacketListener>
      Mappings:
      Namespace Name Mixin selector
      official a Lql;a(Lph;)V
      intermediary method_11052 Lnet/minecraft/class_2596;method_11052(Lnet/minecraft/class_2540;)V
      named write Lnet/minecraft/network/Packet;write(Lnet/minecraft/network/PacketByteBuf;)V
    • apply

      public void apply(ClientPlayPacketListener clientPlayPacketListener)
      Specified by:
      apply in interface Packet<ClientPlayPacketListener>
      Mappings:
      Namespace Name Mixin selector
      official a Lsy;a(Lqo;)V
      intermediary method_11782 Lnet/minecraft/class_2724;method_11782(Lnet/minecraft/class_2602;)V
      named apply Lnet/minecraft/network/packet/s2c/play/PlayerRespawnS2CPacket;apply(Lnet/minecraft/network/listener/ClientPlayPacketListener;)V
    • getDimensionType

      public DimensionType getDimensionType()
      Mappings:
      Namespace Name Mixin selector
      official b Lsy;b()Lcqy;
      intermediary method_29445 Lnet/minecraft/class_2724;method_29445()Lnet/minecraft/class_2874;
      named getDimensionType Lnet/minecraft/network/packet/s2c/play/PlayerRespawnS2CPacket;getDimensionType()Lnet/minecraft/world/dimension/DimensionType;
    • getDimension

      public RegistryKey<World> getDimension()
      Mappings:
      Namespace Name Mixin selector
      official c Lsy;c()Lya;
      intermediary method_11779 Lnet/minecraft/class_2724;method_11779()Lnet/minecraft/class_5321;
      named getDimension Lnet/minecraft/network/packet/s2c/play/PlayerRespawnS2CPacket;getDimension()Lnet/minecraft/util/registry/RegistryKey;
    • getSha256Seed

      public long getSha256Seed()
      Mappings:
      Namespace Name Mixin selector
      official d Lsy;d()J
      intermediary method_22425 Lnet/minecraft/class_2724;method_22425()J
      named getSha256Seed Lnet/minecraft/network/packet/s2c/play/PlayerRespawnS2CPacket;getSha256Seed()J
    • getGameMode

      public GameMode getGameMode()
      Mappings:
      Namespace Name Mixin selector
      official e Lsy;e()Lbzt;
      intermediary method_11780 Lnet/minecraft/class_2724;method_11780()Lnet/minecraft/class_1934;
      named getGameMode Lnet/minecraft/network/packet/s2c/play/PlayerRespawnS2CPacket;getGameMode()Lnet/minecraft/world/GameMode;
    • getPreviousGameMode

      @Nullable public @Nullable GameMode getPreviousGameMode()
      Mappings:
      Namespace Name Mixin selector
      official f Lsy;f()Lbzt;
      intermediary method_30117 Lnet/minecraft/class_2724;method_30117()Lnet/minecraft/class_1934;
      named getPreviousGameMode Lnet/minecraft/network/packet/s2c/play/PlayerRespawnS2CPacket;getPreviousGameMode()Lnet/minecraft/world/GameMode;
    • isDebugWorld

      public boolean isDebugWorld()
      Mappings:
      Namespace Name Mixin selector
      official g Lsy;g()Z
      intermediary method_28120 Lnet/minecraft/class_2724;method_28120()Z
      named isDebugWorld Lnet/minecraft/network/packet/s2c/play/PlayerRespawnS2CPacket;isDebugWorld()Z
    • isFlatWorld

      public boolean isFlatWorld()
      Mappings:
      Namespace Name Mixin selector
      official h Lsy;h()Z
      intermediary method_28121 Lnet/minecraft/class_2724;method_28121()Z
      named isFlatWorld Lnet/minecraft/network/packet/s2c/play/PlayerRespawnS2CPacket;isFlatWorld()Z
    • shouldKeepPlayerAttributes

      public boolean shouldKeepPlayerAttributes()
      Mappings:
      Namespace Name Mixin selector
      official i Lsy;i()Z
      intermediary method_27904 Lnet/minecraft/class_2724;method_27904()Z
      named shouldKeepPlayerAttributes Lnet/minecraft/network/packet/s2c/play/PlayerRespawnS2CPacket;shouldKeepPlayerAttributes()Z