Class EntityPositionS2CPacket

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

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

    • id

      private int id
      Mappings:
      Namespace Name Mixin selector
      official a Lsk;a:I
      intermediary field_12705 Lnet/minecraft/class_2777;field_12705:I
      named id Lnet/minecraft/network/packet/s2c/play/EntityPositionS2CPacket;id:I
    • x

      private double x
      Mappings:
      Namespace Name Mixin selector
      official b Lsk;b:D
      intermediary field_12703 Lnet/minecraft/class_2777;field_12703:D
      named x Lnet/minecraft/network/packet/s2c/play/EntityPositionS2CPacket;x:D
    • y

      private double y
      Mappings:
      Namespace Name Mixin selector
      official c Lsk;c:D
      intermediary field_12702 Lnet/minecraft/class_2777;field_12702:D
      named y Lnet/minecraft/network/packet/s2c/play/EntityPositionS2CPacket;y:D
    • z

      private double z
      Mappings:
      Namespace Name Mixin selector
      official d Lsk;d:D
      intermediary field_12701 Lnet/minecraft/class_2777;field_12701:D
      named z Lnet/minecraft/network/packet/s2c/play/EntityPositionS2CPacket;z:D
    • yaw

      private byte yaw
      Mappings:
      Namespace Name Mixin selector
      official e Lsk;e:B
      intermediary field_12707 Lnet/minecraft/class_2777;field_12707:B
      named yaw Lnet/minecraft/network/packet/s2c/play/EntityPositionS2CPacket;yaw:B
    • pitch

      private byte pitch
      Mappings:
      Namespace Name Mixin selector
      official f Lsk;f:B
      intermediary field_12706 Lnet/minecraft/class_2777;field_12706:B
      named pitch Lnet/minecraft/network/packet/s2c/play/EntityPositionS2CPacket;pitch:B
    • onGround

      private boolean onGround
      Mappings:
      Namespace Name Mixin selector
      official g Lsk;g:Z
      intermediary field_12704 Lnet/minecraft/class_2777;field_12704:Z
      named onGround Lnet/minecraft/network/packet/s2c/play/EntityPositionS2CPacket;onGround:Z
  • Constructor Details

    • EntityPositionS2CPacket

      public EntityPositionS2CPacket()
    • EntityPositionS2CPacket

      public EntityPositionS2CPacket​(Entity entity)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lsk;<init>(Laqv;)V
      intermediary <init> Lnet/minecraft/class_2777;<init>(Lnet/minecraft/class_1297;)V
      named <init> Lnet/minecraft/network/packet/s2c/play/EntityPositionS2CPacket;<init>(Lnet/minecraft/entity/Entity;)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 Lsk;a(Lpd;)V
      intermediary method_11922 Lnet/minecraft/class_2777;method_11922(Lnet/minecraft/class_2602;)V
      named apply Lnet/minecraft/network/packet/s2c/play/EntityPositionS2CPacket;apply(Lnet/minecraft/network/listener/ClientPlayPacketListener;)V
    • getId

      @Environment(CLIENT) public int getId()
      Mappings:
      Namespace Name Mixin selector
      official b Lsk;b()I
      intermediary method_11916 Lnet/minecraft/class_2777;method_11916()I
      named getId Lnet/minecraft/network/packet/s2c/play/EntityPositionS2CPacket;getId()I
    • getX

      @Environment(CLIENT) public double getX()
      Mappings:
      Namespace Name Mixin selector
      official c Lsk;c()D
      intermediary method_11917 Lnet/minecraft/class_2777;method_11917()D
      named getX Lnet/minecraft/network/packet/s2c/play/EntityPositionS2CPacket;getX()D
    • getY

      @Environment(CLIENT) public double getY()
      Mappings:
      Namespace Name Mixin selector
      official d Lsk;d()D
      intermediary method_11919 Lnet/minecraft/class_2777;method_11919()D
      named getY Lnet/minecraft/network/packet/s2c/play/EntityPositionS2CPacket;getY()D
    • getZ

      @Environment(CLIENT) public double getZ()
      Mappings:
      Namespace Name Mixin selector
      official e Lsk;e()D
      intermediary method_11918 Lnet/minecraft/class_2777;method_11918()D
      named getZ Lnet/minecraft/network/packet/s2c/play/EntityPositionS2CPacket;getZ()D
    • getYaw

      @Environment(CLIENT) public byte getYaw()
      Mappings:
      Namespace Name Mixin selector
      official f Lsk;f()B
      intermediary method_11920 Lnet/minecraft/class_2777;method_11920()B
      named getYaw Lnet/minecraft/network/packet/s2c/play/EntityPositionS2CPacket;getYaw()B
    • getPitch

      @Environment(CLIENT) public byte getPitch()
      Mappings:
      Namespace Name Mixin selector
      official g Lsk;g()B
      intermediary method_11921 Lnet/minecraft/class_2777;method_11921()B
      named getPitch Lnet/minecraft/network/packet/s2c/play/EntityPositionS2CPacket;getPitch()B
    • isOnGround

      @Environment(CLIENT) public boolean isOnGround()
      Mappings:
      Namespace Name Mixin selector
      official h Lsk;h()Z
      intermediary method_11923 Lnet/minecraft/class_2777;method_11923()Z
      named isOnGround Lnet/minecraft/network/packet/s2c/play/EntityPositionS2CPacket;isOnGround()Z