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 aft
  • 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 Laft;a:Lys;
    • 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 Laft;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 Laft;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> Laft;<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> Laft;<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 Lzb;a()Lzd;
    • 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 Laft;a(Labn;)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 Laft;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 Laft;e()Ljava/util/List;