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

    • CODEC

      Mappings:
      Namespace Name Mixin selector
      named CODEC Lnet/minecraft/network/packet/s2c/play/EntityPositionS2CPacket;CODEC:Lnet/minecraft/network/codec/PacketCodec;
      intermediary field_48004 Lnet/minecraft/class_2777;field_48004:Lnet/minecraft/class_9139;
      official a Lafv;a:Lyw;
    • id

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

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

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

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

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

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

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

    • EntityPositionS2CPacket

      public EntityPositionS2CPacket(Entity entity)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/network/packet/s2c/play/EntityPositionS2CPacket;<init>(Lnet/minecraft/entity/Entity;)V
      intermediary <init> Lnet/minecraft/class_2777;<init>(Lnet/minecraft/class_1297;)V
      official <init> Lafv;<init>(Lbsq;)V
    • EntityPositionS2CPacket

      private EntityPositionS2CPacket(PacketByteBuf buf)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/network/packet/s2c/play/EntityPositionS2CPacket;<init>(Lnet/minecraft/network/PacketByteBuf;)V
      intermediary <init> Lnet/minecraft/class_2777;<init>(Lnet/minecraft/class_2540;)V
      official <init> Lafv;<init>(Lvv;)V
  • Method Details

    • write

      private void write(PacketByteBuf buf)
      Mappings:
      Namespace Name Mixin selector
      named write Lnet/minecraft/network/packet/s2c/play/EntityPositionS2CPacket;write(Lnet/minecraft/network/PacketByteBuf;)V
      intermediary method_55949 Lnet/minecraft/class_2777;method_55949(Lnet/minecraft/class_2540;)V
      official a Lafv;a(Lvv;)V
    • getPacketId

      public PacketType<EntityPositionS2CPacket> getPacketId()
      Specified by:
      getPacketId in interface Packet<ClientPlayPacketListener>
      Mappings:
      Namespace Name Mixin selector
      named getPacketId Lnet/minecraft/network/packet/Packet;getPacketId()Lnet/minecraft/network/packet/PacketType;
      intermediary method_55846 Lnet/minecraft/class_2596;method_55846()Lnet/minecraft/class_9145;
      official a Lzf;a()Lzh;
    • apply

      public void apply(ClientPlayPacketListener clientPlayPacketListener)
      Specified by:
      apply in interface Packet<ClientPlayPacketListener>
      Mappings:
      Namespace Name Mixin selector
      named apply Lnet/minecraft/network/packet/s2c/play/EntityPositionS2CPacket;apply(Lnet/minecraft/network/listener/ClientPlayPacketListener;)V
      intermediary method_11922 Lnet/minecraft/class_2777;method_11922(Lnet/minecraft/class_2602;)V
      official a Lafv;a(Labt;)V
    • getId

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

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

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

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

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

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

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