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 up
intermediary net/minecraft/class_2777
named net/minecraft/network/packet/s2c/play/EntityPositionS2CPacket
  • Field Details

    • id

      private final int id
      Mappings:
      Namespace Name Mixin selector
      official a Lup;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 final double x
      Mappings:
      Namespace Name Mixin selector
      official b Lup;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 final double y
      Mappings:
      Namespace Name Mixin selector
      official c Lup;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 final double z
      Mappings:
      Namespace Name Mixin selector
      official d Lup;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 final byte yaw
      Mappings:
      Namespace Name Mixin selector
      official e Lup;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 final byte pitch
      Mappings:
      Namespace Name Mixin selector
      official f Lup;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 final boolean onGround
      Mappings:
      Namespace Name Mixin selector
      official g Lup;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(Entity entity)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lup;<init>(Lawt;)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
    • EntityPositionS2CPacket

      public EntityPositionS2CPacket(PacketByteBuf buf)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lup;<init>(Lpn;)V
      intermediary <init> Lnet/minecraft/class_2777;<init>(Lnet/minecraft/class_2540;)V
      named <init> Lnet/minecraft/network/packet/s2c/play/EntityPositionS2CPacket;<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 Lqr;a(Lpn;)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 Lup;a(Lqu;)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

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

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

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

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

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

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

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