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 pi
intermediary net/minecraft/class_2613
named net/minecraft/network/packet/s2c/play/PlayerSpawnS2CPacket
  • Field Details

    • id

      private int id
      Mappings:
      Namespace Name Mixin selector
      official a Lpi;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 UUID uuid
      Mappings:
      Namespace Name Mixin selector
      official b Lpi;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 double x
      Mappings:
      Namespace Name Mixin selector
      official c Lpi;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 double y
      Mappings:
      Namespace Name Mixin selector
      official d Lpi;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 double z
      Mappings:
      Namespace Name Mixin selector
      official e Lpi;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 byte yaw
      Mappings:
      Namespace Name Mixin selector
      official f Lpi;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 byte pitch
      Mappings:
      Namespace Name Mixin selector
      official g Lpi;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()
    • PlayerSpawnS2CPacket

      public PlayerSpawnS2CPacket​(PlayerEntity player)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lpi;<init>(Lbhl;)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
  • Method Details

    • read

      public void read​(PacketByteBuf buf) throws IOException
      Specified by:
      read in interface Packet<ClientPlayPacketListener>
      Throws:
      IOException
      Mappings:
      Namespace Name Mixin selector
      official a Lpa;a(Lnw;)V
      intermediary method_11053 Lnet/minecraft/class_2596;method_11053(Lnet/minecraft/class_2540;)V
      named read Lnet/minecraft/network/Packet;read(Lnet/minecraft/network/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 Lpa;b(Lnw;)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 Lpi;a(Lpd;)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

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

      @Environment(CLIENT) public UUID getPlayerUuid()
      Mappings:
      Namespace Name Mixin selector
      official c Lpi;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

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

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

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

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

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