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

    • entityId

      private final int entityId
      Mappings:
      Namespace Name Mixin selector
      official a Lyu;a:I
      intermediary field_12719 Lnet/minecraft/class_2781;field_12719: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 Lyu;b:Ljava/util/List;
      intermediary field_12720 Lnet/minecraft/class_2781;field_12720:Ljava/util/List;
      named entries Lnet/minecraft/network/packet/s2c/play/EntityAttributesS2CPacket;entries:Ljava/util/List;
  • Constructor Details

    • EntityAttributesS2CPacket

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

      public EntityAttributesS2CPacket(PacketByteBuf buf)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lyu;<init>(Lsf;)V
      intermediary <init> Lnet/minecraft/class_2781;<init>(Lnet/minecraft/class_2540;)V
      named <init> Lnet/minecraft/network/packet/s2c/play/EntityAttributesS2CPacket;<init>(Lnet/minecraft/network/PacketByteBuf;)V
  • Method Details

    • write

      public void write(PacketByteBuf buf)
      Specified by:
      write in interface Packet<ClientPlayPacketListener>
      Mappings:
      Namespace Name Mixin selector
      official a Luo;a(Lsf;)V
      intermediary method_11052 Lnet/minecraft/class_2596;method_11052(Lnet/minecraft/class_2540;)V
      named write Lnet/minecraft/network/packet/Packet;write(Lnet/minecraft/network/PacketByteBuf;)V
    • apply

      public void apply(ClientPlayPacketListener clientPlayPacketListener)
      Specified by:
      apply in interface Packet<ClientPlayPacketListener>
      Mappings:
      Namespace Name Mixin selector
      official a Lyu;a(Lur;)V
      intermediary method_11936 Lnet/minecraft/class_2781;method_11936(Lnet/minecraft/class_2602;)V
      named apply Lnet/minecraft/network/packet/s2c/play/EntityAttributesS2CPacket;apply(Lnet/minecraft/network/listener/ClientPlayPacketListener;)V
    • getEntityId

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

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