Class EntitySetHeadYawS2CPacket

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

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

    • CODEC

      Mappings:
      Namespace Name Mixin selector
      named CODEC Lnet/minecraft/network/packet/s2c/play/EntitySetHeadYawS2CPacket;CODEC:Lnet/minecraft/network/codec/PacketCodec;
      intermediary field_47963 Lnet/minecraft/class_2726;field_47963:Lnet/minecraft/class_9139;
      official a Laej;a:Lyx;
    • entity

      private final int entity
      Mappings:
      Namespace Name Mixin selector
      named entity Lnet/minecraft/network/packet/s2c/play/EntitySetHeadYawS2CPacket;entity:I
      intermediary field_12437 Lnet/minecraft/class_2726;field_12437:I
      official b Laej;b:I
    • headYaw

      private final byte headYaw
      Mappings:
      Namespace Name Mixin selector
      named headYaw Lnet/minecraft/network/packet/s2c/play/EntitySetHeadYawS2CPacket;headYaw:B
      intermediary field_12436 Lnet/minecraft/class_2726;field_12436:B
      official c Laej;c:B
  • Constructor Details

    • EntitySetHeadYawS2CPacket

      public EntitySetHeadYawS2CPacket(Entity entity, byte headYaw)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/network/packet/s2c/play/EntitySetHeadYawS2CPacket;<init>(Lnet/minecraft/entity/Entity;B)V
      intermediary <init> Lnet/minecraft/class_2726;<init>(Lnet/minecraft/class_1297;B)V
      official <init> Laej;<init>(Lbsr;B)V
    • EntitySetHeadYawS2CPacket

      private EntitySetHeadYawS2CPacket(PacketByteBuf buf)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/network/packet/s2c/play/EntitySetHeadYawS2CPacket;<init>(Lnet/minecraft/network/PacketByteBuf;)V
      intermediary <init> Lnet/minecraft/class_2726;<init>(Lnet/minecraft/class_2540;)V
      official <init> Laej;<init>(Lvw;)V
  • Method Details

    • write

      private void write(PacketByteBuf buf)
      Mappings:
      Namespace Name Mixin selector
      named write Lnet/minecraft/network/packet/s2c/play/EntitySetHeadYawS2CPacket;write(Lnet/minecraft/network/PacketByteBuf;)V
      intermediary method_55910 Lnet/minecraft/class_2726;method_55910(Lnet/minecraft/class_2540;)V
      official a Laej;a(Lvw;)V
    • getPacketId

      public PacketType<EntitySetHeadYawS2CPacket> 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/EntitySetHeadYawS2CPacket;apply(Lnet/minecraft/network/listener/ClientPlayPacketListener;)V
      intermediary method_11788 Lnet/minecraft/class_2726;method_11788(Lnet/minecraft/class_2602;)V
      official a Laej;a(Labu;)V
    • getEntity

      public Entity getEntity(World world)
      Mappings:
      Namespace Name Mixin selector
      named getEntity Lnet/minecraft/network/packet/s2c/play/EntitySetHeadYawS2CPacket;getEntity(Lnet/minecraft/world/World;)Lnet/minecraft/entity/Entity;
      intermediary method_11786 Lnet/minecraft/class_2726;method_11786(Lnet/minecraft/class_1937;)Lnet/minecraft/class_1297;
      official a Laej;a(Ldcw;)Lbsr;
    • getHeadYaw

      public byte getHeadYaw()
      Mappings:
      Namespace Name Mixin selector
      named getHeadYaw Lnet/minecraft/network/packet/s2c/play/EntitySetHeadYawS2CPacket;getHeadYaw()B
      intermediary method_11787 Lnet/minecraft/class_2726;method_11787()B
      official b Laej;b()B