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 afw
  • 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 Lafw;a:Lyx;
    • entityId

      private final int entityId
      Mappings:
      Namespace Name Mixin selector
      named entityId Lnet/minecraft/network/packet/s2c/play/EntityPositionS2CPacket;entityId:I
      intermediary field_12705 Lnet/minecraft/class_2777;field_12705:I
      official b Lafw;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 Lafw;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 Lafw;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 Lafw;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 Lafw;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 Lafw;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 Lafw;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> Lafw;<init>(Lbsr;)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> Lafw;<init>(Lvw;)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 Lafw;a(Lvw;)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 Lzg;a()Lzi;
    • 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 Lafw;a(Labu;)V
    • getEntityId

      public int getEntityId()
      Mappings:
      Namespace Name Mixin selector
      named getEntityId Lnet/minecraft/network/packet/s2c/play/EntityPositionS2CPacket;getEntityId()I
      intermediary method_11916 Lnet/minecraft/class_2777;method_11916()I
      official b Lafw;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 Lafw;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 Lafw;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 Lafw;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 Lafw;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 Lafw;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 Lafw;j()Z