Class EntityAttributesS2CPacket

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

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

    • CODEC

      Mappings:
      Namespace Name Mixin selector
      named CODEC Lnet/minecraft/network/packet/s2c/play/EntityAttributesS2CPacket;CODEC:Lnet/minecraft/network/codec/PacketCodec;
      intermediary field_48008 Lnet/minecraft/class_2781;field_48008:Lnet/minecraft/class_9139;
      official a Lahe;a:Lzt;
    • entityId

      private final int entityId
      Mappings:
      Namespace Name Mixin selector
      named entityId Lnet/minecraft/network/packet/s2c/play/EntityAttributesS2CPacket;entityId:I
      intermediary field_12719 Lnet/minecraft/class_2781;field_12719:I
      official b Lahe;b:I
    • entries

      private final List<EntityAttributesS2CPacket.Entry> entries
      Mappings:
      Namespace Name Mixin selector
      named entries Lnet/minecraft/network/packet/s2c/play/EntityAttributesS2CPacket;entries:Ljava/util/List;
      intermediary field_12720 Lnet/minecraft/class_2781;field_12720:Ljava/util/List;
      official c Lahe;c:Ljava/util/List;
  • Constructor Details

    • EntityAttributesS2CPacket

      public EntityAttributesS2CPacket(int entityId, Collection<EntityAttributeInstance> attributes)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/network/packet/s2c/play/EntityAttributesS2CPacket;<init>(ILjava/util/Collection;)V
      intermediary <init> Lnet/minecraft/class_2781;<init>(ILjava/util/Collection;)V
      official <init> Lahe;<init>(ILjava/util/Collection;)V
    • EntityAttributesS2CPacket

      private EntityAttributesS2CPacket(int entityId, List<EntityAttributesS2CPacket.Entry> attributes)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/network/packet/s2c/play/EntityAttributesS2CPacket;<init>(ILjava/util/List;)V
      intermediary <init> Lnet/minecraft/class_2781;<init>(ILjava/util/List;)V
      official <init> Lahe;<init>(ILjava/util/List;)V
  • Method Details

    • getPacketId

      public PacketType<EntityAttributesS2CPacket> 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 Laac;a()Laae;
    • 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/EntityAttributesS2CPacket;apply(Lnet/minecraft/network/listener/ClientPlayPacketListener;)V
      intermediary method_11936 Lnet/minecraft/class_2781;method_11936(Lnet/minecraft/class_2602;)V
      official a Lahe;a(Lacr;)V
    • getEntityId

      public int getEntityId()
      Mappings:
      Namespace Name Mixin selector
      named getEntityId Lnet/minecraft/network/packet/s2c/play/EntityAttributesS2CPacket;getEntityId()I
      intermediary method_11937 Lnet/minecraft/class_2781;method_11937()I
      official b Lahe;b()I
    • getEntries

      public List<EntityAttributesS2CPacket.Entry> getEntries()
      Mappings:
      Namespace Name Mixin selector
      named getEntries Lnet/minecraft/network/packet/s2c/play/EntityAttributesS2CPacket;getEntries()Ljava/util/List;
      intermediary method_11938 Lnet/minecraft/class_2781;method_11938()Ljava/util/List;
      official e Lahe;e()Ljava/util/List;