Class PlayerSpawnS2CPacket

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

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

    • id

      private final int id
      Mappings:
      Namespace Name Mixin selector
      official a Lps;a:I
      intermediary field_12017 Lnet/minecraft/class_2613;field_12017:I
      named id Lnet/minecraft/network/packet/s2c/play/PlayerSpawnS2CPacket;id:I
    • uuid

      private final UUID uuid
      Mappings:
      Namespace Name Mixin selector
      official b Lps;b:Ljava/util/UUID;
      intermediary field_12015 Lnet/minecraft/class_2613;field_12015:Ljava/util/UUID;
      named uuid Lnet/minecraft/network/packet/s2c/play/PlayerSpawnS2CPacket;uuid:Ljava/util/UUID;
    • x

      private final double x
      Mappings:
      Namespace Name Mixin selector
      official c Lps;c:D
      intermediary field_12014 Lnet/minecraft/class_2613;field_12014:D
      named x Lnet/minecraft/network/packet/s2c/play/PlayerSpawnS2CPacket;x:D
    • y

      private final double y
      Mappings:
      Namespace Name Mixin selector
      official d Lps;d:D
      intermediary field_12013 Lnet/minecraft/class_2613;field_12013:D
      named y Lnet/minecraft/network/packet/s2c/play/PlayerSpawnS2CPacket;y:D
    • z

      private final double z
      Mappings:
      Namespace Name Mixin selector
      official e Lps;e:D
      intermediary field_12021 Lnet/minecraft/class_2613;field_12021:D
      named z Lnet/minecraft/network/packet/s2c/play/PlayerSpawnS2CPacket;z:D
    • yaw

      private final byte yaw
      Mappings:
      Namespace Name Mixin selector
      official f Lps;f:B
      intermediary field_12020 Lnet/minecraft/class_2613;field_12020:B
      named yaw Lnet/minecraft/network/packet/s2c/play/PlayerSpawnS2CPacket;yaw:B
    • pitch

      private final byte pitch
      Mappings:
      Namespace Name Mixin selector
      official g Lps;g:B
      intermediary field_12019 Lnet/minecraft/class_2613;field_12019:B
      named pitch Lnet/minecraft/network/packet/s2c/play/PlayerSpawnS2CPacket;pitch:B
  • Constructor Details

    • PlayerSpawnS2CPacket

      public PlayerSpawnS2CPacket(PlayerEntity player)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lps;<init>(Lbkd;)V
      intermediary <init> Lnet/minecraft/class_2613;<init>(Lnet/minecraft/class_1657;)V
      named <init> Lnet/minecraft/network/packet/s2c/play/PlayerSpawnS2CPacket;<init>(Lnet/minecraft/entity/player/PlayerEntity;)V
    • PlayerSpawnS2CPacket

      public PlayerSpawnS2CPacket(PacketByteBuf buf)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lps;<init>(Log;)V
      intermediary <init> Lnet/minecraft/class_2613;<init>(Lnet/minecraft/class_2540;)V
      named <init> Lnet/minecraft/network/packet/s2c/play/PlayerSpawnS2CPacket;<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 Lpk;a(Log;)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 Lps;a(Lpn;)V
      intermediary method_11235 Lnet/minecraft/class_2613;method_11235(Lnet/minecraft/class_2602;)V
      named apply Lnet/minecraft/network/packet/s2c/play/PlayerSpawnS2CPacket;apply(Lnet/minecraft/network/listener/ClientPlayPacketListener;)V
    • getId

      public int getId()
      Mappings:
      Namespace Name Mixin selector
      official b Lps;b()I
      intermediary method_11227 Lnet/minecraft/class_2613;method_11227()I
      named getId Lnet/minecraft/network/packet/s2c/play/PlayerSpawnS2CPacket;getId()I
    • getPlayerUuid

      public UUID getPlayerUuid()
      Mappings:
      Namespace Name Mixin selector
      official c Lps;c()Ljava/util/UUID;
      intermediary method_11230 Lnet/minecraft/class_2613;method_11230()Ljava/util/UUID;
      named getPlayerUuid Lnet/minecraft/network/packet/s2c/play/PlayerSpawnS2CPacket;getPlayerUuid()Ljava/util/UUID;
    • getX

      public double getX()
      Mappings:
      Namespace Name Mixin selector
      official d Lps;d()D
      intermediary method_11231 Lnet/minecraft/class_2613;method_11231()D
      named getX Lnet/minecraft/network/packet/s2c/play/PlayerSpawnS2CPacket;getX()D
    • getY

      public double getY()
      Mappings:
      Namespace Name Mixin selector
      official e Lps;e()D
      intermediary method_11232 Lnet/minecraft/class_2613;method_11232()D
      named getY Lnet/minecraft/network/packet/s2c/play/PlayerSpawnS2CPacket;getY()D
    • getZ

      public double getZ()
      Mappings:
      Namespace Name Mixin selector
      official f Lps;f()D
      intermediary method_11233 Lnet/minecraft/class_2613;method_11233()D
      named getZ Lnet/minecraft/network/packet/s2c/play/PlayerSpawnS2CPacket;getZ()D
    • getYaw

      public byte getYaw()
      Mappings:
      Namespace Name Mixin selector
      official g Lps;g()B
      intermediary method_11234 Lnet/minecraft/class_2613;method_11234()B
      named getYaw Lnet/minecraft/network/packet/s2c/play/PlayerSpawnS2CPacket;getYaw()B
    • getPitch

      public byte getPitch()
      Mappings:
      Namespace Name Mixin selector
      official h Lps;h()B
      intermediary method_11228 Lnet/minecraft/class_2613;method_11228()B
      named getPitch Lnet/minecraft/network/packet/s2c/play/PlayerSpawnS2CPacket;getPitch()B