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
official ia
intermediary net/minecraft/class_1547
named net/minecraft/network/packet/s2c/play/EntityAttributesS2CPacket
  • Field Details

    • entityId

      private int entityId
      Mappings:
      Namespace Name Mixin selector
      official a Lia;a:I
      intermediary field_6367 Lnet/minecraft/class_1547;field_6367:I
      named entityId Lnet/minecraft/network/packet/s2c/play/EntityAttributesS2CPacket;entityId:I
    • entries

      private final List<EntityAttributesS2CPacket.Entry> entries
      Mappings:
      Namespace Name Mixin selector
      official b Lia;b:Ljava/util/List;
      intermediary field_6368 Lnet/minecraft/class_1547;field_6368:Ljava/util/List;
      named entries Lnet/minecraft/network/packet/s2c/play/EntityAttributesS2CPacket;entries:Ljava/util/List;
  • Constructor Details

    • EntityAttributesS2CPacket

      public EntityAttributesS2CPacket()
    • EntityAttributesS2CPacket

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

    • read

      public void read​(PacketByteBuf buf) throws IOException
      Specified by:
      read in interface Packet<ClientPlayPacketListener>
      Throws:
      IOException
      Mappings:
      Namespace Name Mixin selector
      official a Lff;a(Lem;)V
      intermediary method_5238 Lnet/minecraft/class_1457;method_5238(Lnet/minecraft/class_1435;)V
      named read Lnet/minecraft/network/Packet;read(Lnet/minecraft/util/PacketByteBuf;)V
    • write

      public void write​(PacketByteBuf buf) throws IOException
      Specified by:
      write in interface Packet<ClientPlayPacketListener>
      Throws:
      IOException
      Mappings:
      Namespace Name Mixin selector
      official b Lff;b(Lem;)V
      intermediary method_5240 Lnet/minecraft/class_1457;method_5240(Lnet/minecraft/class_1435;)V
      named write Lnet/minecraft/network/Packet;write(Lnet/minecraft/util/PacketByteBuf;)V
    • apply

      public void apply​(ClientPlayPacketListener clientPlayPacketListener)
      Specified by:
      apply in interface Packet<ClientPlayPacketListener>
      Mappings:
      Namespace Name Mixin selector
      official a Lia;a(Lfj;)V
      intermediary method_5700 Lnet/minecraft/class_1547;method_5700(Lnet/minecraft/class_1462;)V
      named apply Lnet/minecraft/network/packet/s2c/play/EntityAttributesS2CPacket;apply(Lnet/minecraft/network/listener/ClientPlayPacketListener;)V
    • getEntityId

      @Environment(CLIENT) public int getEntityId()
      Mappings:
      Namespace Name Mixin selector
      official a Lia;a()I
      intermediary method_5699 Lnet/minecraft/class_1547;method_5699()I
      named getEntityId Lnet/minecraft/network/packet/s2c/play/EntityAttributesS2CPacket;getEntityId()I
    • getEntries

      Mappings:
      Namespace Name Mixin selector
      official b Lia;b()Ljava/util/List;
      intermediary method_5701 Lnet/minecraft/class_1547;method_5701()Ljava/util/List;
      named getEntries Lnet/minecraft/network/packet/s2c/play/EntityAttributesS2CPacket;getEntries()Ljava/util/List;