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 ago
  • 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 Lago;a:Lzn;
    • 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 Lago;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 Lago;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> Lago;<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> Lago;<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 Lzw;a()Lzy;
    • 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 Lago;a(Laci;)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 Lago;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 Lago;e()Ljava/util/List;