Class PlayerSpawnPositionS2CPacket

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

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

    • CODEC

      Mappings:
      Namespace Name Mixin selector
      named CODEC Lnet/minecraft/network/packet/s2c/play/PlayerSpawnPositionS2CPacket;CODEC:Lnet/minecraft/network/codec/PacketCodec;
      intermediary field_47977 Lnet/minecraft/class_2759;field_47977:Lnet/minecraft/class_9139;
      official a Laew;a:Lyw;
    • pos

      private final BlockPos pos
      Mappings:
      Namespace Name Mixin selector
      named pos Lnet/minecraft/network/packet/s2c/play/PlayerSpawnPositionS2CPacket;pos:Lnet/minecraft/util/math/BlockPos;
      intermediary field_12615 Lnet/minecraft/class_2759;field_12615:Lnet/minecraft/class_2338;
      official b Laew;b:Ljd;
    • angle

      private final float angle
      Mappings:
      Namespace Name Mixin selector
      named angle Lnet/minecraft/network/packet/s2c/play/PlayerSpawnPositionS2CPacket;angle:F
      intermediary field_26381 Lnet/minecraft/class_2759;field_26381:F
      official c Laew;c:F
  • Constructor Details

    • PlayerSpawnPositionS2CPacket

      public PlayerSpawnPositionS2CPacket(BlockPos pos, float angle)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/network/packet/s2c/play/PlayerSpawnPositionS2CPacket;<init>(Lnet/minecraft/util/math/BlockPos;F)V
      intermediary <init> Lnet/minecraft/class_2759;<init>(Lnet/minecraft/class_2338;F)V
      official <init> Laew;<init>(Ljd;F)V
    • PlayerSpawnPositionS2CPacket

      private PlayerSpawnPositionS2CPacket(PacketByteBuf buf)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/network/packet/s2c/play/PlayerSpawnPositionS2CPacket;<init>(Lnet/minecraft/network/PacketByteBuf;)V
      intermediary <init> Lnet/minecraft/class_2759;<init>(Lnet/minecraft/class_2540;)V
      official <init> Laew;<init>(Lvv;)V
  • Method Details

    • write

      private void write(PacketByteBuf buf)
      Mappings:
      Namespace Name Mixin selector
      named write Lnet/minecraft/network/packet/s2c/play/PlayerSpawnPositionS2CPacket;write(Lnet/minecraft/network/PacketByteBuf;)V
      intermediary method_55924 Lnet/minecraft/class_2759;method_55924(Lnet/minecraft/class_2540;)V
      official a Laew;a(Lvv;)V
    • getPacketId

      Specified by:
      getPacketId in interface Packet<ClientPlayPacketListener>
      Mappings:
      Namespace Name Mixin selector
      named getPacketId Lnet/minecraft/network/packet/Packet;getPacketId()Lnet/minecraft/network/packet/PacketType;
      intermediary method_55846 Lnet/minecraft/class_2596;method_55846()Lnet/minecraft/class_9145;
      official a Lzf;a()Lzh;
    • apply

      public void apply(ClientPlayPacketListener clientPlayPacketListener)
      Specified by:
      apply in interface Packet<ClientPlayPacketListener>
      Mappings:
      Namespace Name Mixin selector
      named apply Lnet/minecraft/network/packet/s2c/play/PlayerSpawnPositionS2CPacket;apply(Lnet/minecraft/network/listener/ClientPlayPacketListener;)V
      intermediary method_11869 Lnet/minecraft/class_2759;method_11869(Lnet/minecraft/class_2602;)V
      official a Laew;a(Labt;)V
    • getPos

      public BlockPos getPos()
      Mappings:
      Namespace Name Mixin selector
      named getPos Lnet/minecraft/network/packet/s2c/play/PlayerSpawnPositionS2CPacket;getPos()Lnet/minecraft/util/math/BlockPos;
      intermediary method_11870 Lnet/minecraft/class_2759;method_11870()Lnet/minecraft/class_2338;
      official b Laew;b()Ljd;
    • getAngle

      public float getAngle()
      Mappings:
      Namespace Name Mixin selector
      named getAngle Lnet/minecraft/network/packet/s2c/play/PlayerSpawnPositionS2CPacket;getAngle()F
      intermediary method_30732 Lnet/minecraft/class_2759;method_30732()F
      official e Laew;e()F