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 zf
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 Lzf;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 Lzf;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 Lzf;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 Lzf;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 Lzf;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 Lzf;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 Lzf;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> Lzf;<init>(Lbfh;)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> Lzf;<init>(Lss;)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 Lvb;a(Lss;)V
      intermediary method_11052 Lnet/minecraft/class_2596;method_11052(Lnet/minecraft/class_2540;)V
      named write Lnet/minecraft/network/packet/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 Lzf;a(Lve;)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 a Lzf;a()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 Lzf;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 Lzf;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 Lzf;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 Lzf;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 Lzf;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 Lzf;h()Z
      intermediary method_11923 Lnet/minecraft/class_2777;method_11923()Z
      named isOnGround Lnet/minecraft/network/packet/s2c/play/EntityPositionS2CPacket;isOnGround()Z