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 kz
intermediary net/minecraft/class_2036
named net/minecraft/network/packet/s2c/play/PlayerRespawnS2CPacket
  • Field Details

    • field_21557

      private DimensionType field_21557
      Mappings:
      Namespace Name Mixin selector
      official a Lkz;a:Lbod;
      intermediary field_21557 Lnet/minecraft/class_2036;field_21557:Lnet/minecraft/class_3793;
      named field_21557 Lnet/minecraft/network/packet/s2c/play/PlayerRespawnS2CPacket;field_21557:Lnet/minecraft/world/dimension/DimensionType;
    • difficulty

      private Difficulty difficulty
      Mappings:
      Namespace Name Mixin selector
      official b Lkz;b:Ladi;
      intermediary field_8705 Lnet/minecraft/class_2036;field_8705:Lnet/minecraft/class_2151;
      named difficulty Lnet/minecraft/network/packet/s2c/play/PlayerRespawnS2CPacket;difficulty:Lnet/minecraft/world/Difficulty;
    • field_8706

      private GameMode field_8706
      Mappings:
      Namespace Name Mixin selector
      official c Lkz;c:Laxv;
      intermediary field_8706 Lnet/minecraft/class_2036;field_8706:Lnet/minecraft/class_1157;
      named field_8706 Lnet/minecraft/network/packet/s2c/play/PlayerRespawnS2CPacket;field_8706:Lnet/minecraft/world/GameMode;
    • generatorType

      private LevelGeneratorType generatorType
      Mappings:
      Namespace Name Mixin selector
      official d Lkz;d:Layg;
      intermediary field_8707 Lnet/minecraft/class_2036;field_8707:Lnet/minecraft/class_1160;
      named generatorType Lnet/minecraft/network/packet/s2c/play/PlayerRespawnS2CPacket;generatorType:Lnet/minecraft/world/level/LevelGeneratorType;
  • Constructor Details

  • Method Details

    • apply

      public void apply(ClientPlayPacketListener clientPlayPacketListener)
      Specified by:
      apply in interface Packet<ClientPlayPacketListener>
      Mappings:
      Namespace Name Mixin selector
      official a Lkz;a(Liy;)V
      intermediary method_7845 Lnet/minecraft/class_2036;method_7845(Lnet/minecraft/class_1993;)V
      named apply Lnet/minecraft/network/packet/s2c/play/PlayerRespawnS2CPacket;apply(Lnet/minecraft/network/listener/ClientPlayPacketListener;)V
    • read

      public void read(PacketByteBuf buf) throws IOException
      Specified by:
      read in interface Packet<ClientPlayPacketListener>
      Throws:
      IOException
      Mappings:
      Namespace Name Mixin selector
      official a Liv;a(Lhy;)V
      intermediary method_7535 Lnet/minecraft/class_700;method_7535(Lnet/minecraft/class_1967;)V
      named read Lnet/minecraft/network/Packet;read(Lnet/minecraft/util/PacketByteBuf;)V
    • write

      public void write(PacketByteBuf buf) throws IOException
      Specified by:
      write in interface Packet<ClientPlayPacketListener>
      Throws:
      IOException
      Mappings:
      Namespace Name Mixin selector
      official b Liv;b(Lhy;)V
      intermediary method_7539 Lnet/minecraft/class_700;method_7539(Lnet/minecraft/class_1967;)V
      named write Lnet/minecraft/network/Packet;write(Lnet/minecraft/util/PacketByteBuf;)V
    • method_7846

      @Environment(CLIENT) public DimensionType method_7846()
      Mappings:
      Namespace Name Mixin selector
      official b Lkz;b()Lbod;
      intermediary method_7846 Lnet/minecraft/class_2036;method_7846()Lnet/minecraft/class_3793;
      named method_7846 Lnet/minecraft/network/packet/s2c/play/PlayerRespawnS2CPacket;method_7846()Lnet/minecraft/world/dimension/DimensionType;
    • getDifficulty

      @Environment(CLIENT) public Difficulty getDifficulty()
      Mappings:
      Namespace Name Mixin selector
      official c Lkz;c()Ladi;
      intermediary method_7847 Lnet/minecraft/class_2036;method_7847()Lnet/minecraft/class_2151;
      named getDifficulty Lnet/minecraft/network/packet/s2c/play/PlayerRespawnS2CPacket;getDifficulty()Lnet/minecraft/world/Difficulty;
    • method_7848

      @Environment(CLIENT) public GameMode method_7848()
      Mappings:
      Namespace Name Mixin selector
      official d Lkz;d()Laxv;
      intermediary method_7848 Lnet/minecraft/class_2036;method_7848()Lnet/minecraft/class_1157;
      named method_7848 Lnet/minecraft/network/packet/s2c/play/PlayerRespawnS2CPacket;method_7848()Lnet/minecraft/world/GameMode;
    • getGeneratorType

      @Environment(CLIENT) public LevelGeneratorType getGeneratorType()
      Mappings:
      Namespace Name Mixin selector
      official e Lkz;e()Layg;
      intermediary method_7849 Lnet/minecraft/class_2036;method_7849()Lnet/minecraft/class_1160;
      named getGeneratorType Lnet/minecraft/network/packet/s2c/play/PlayerRespawnS2CPacket;getGeneratorType()Lnet/minecraft/world/level/LevelGeneratorType;