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 afl
  • 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 Lafl;a:Lzn;
    • 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 Lafl;b:Liz;
    • 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 Lafl;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> Lafl;<init>(Liz;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> Lafl;<init>(Lwm;)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 Lafl;a(Lwm;)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 Lzw;a()Lzy;
    • 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 Lafl;a(Laci;)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 Lafl;b()Liz;
    • 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 Lafl;e()F