Class EntityAttributesS2CPacket
java.lang.Object
net.minecraft.network.packet.s2c.play.EntityAttributesS2CPacket
- All Implemented Interfaces:
Packet<ClientPlayPacketListener>
- Mappings:
Namespace Name official afr
intermediary net/minecraft/class_2781
named net/minecraft/network/packet/s2c/play/EntityAttributesS2CPacket
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final PacketCodec
<RegistryByteBuf, EntityAttributesS2CPacket> private final int
private final List
<EntityAttributesS2CPacket.Entry> -
Constructor Summary
ConstructorsModifierConstructorDescriptionEntityAttributesS2CPacket
(int entityId, Collection<EntityAttributeInstance> attributes) private
EntityAttributesS2CPacket
(int entityId, List<EntityAttributesS2CPacket.Entry> attributes) -
Method Summary
Modifier and TypeMethodDescriptionvoid
apply
(ClientPlayPacketListener clientPlayPacketListener) int
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.network.packet.Packet
isWritingErrorSkippable, transitionsNetworkState
-
Field Details
-
CODEC
- Mappings:
Namespace Name Mixin selector official a
Lafr;a:Lys;
intermediary field_48008
Lnet/minecraft/class_2781;field_48008:Lnet/minecraft/class_9139;
named CODEC
Lnet/minecraft/network/packet/s2c/play/EntityAttributesS2CPacket;CODEC:Lnet/minecraft/network/codec/PacketCodec;
-
entityId
private final int entityId- Mappings:
Namespace Name Mixin selector official b
Lafr;b:I
intermediary field_12719
Lnet/minecraft/class_2781;field_12719:I
named entityId
Lnet/minecraft/network/packet/s2c/play/EntityAttributesS2CPacket;entityId:I
-
entries
- Mappings:
Namespace Name Mixin selector official c
Lafr;c: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
- Mappings:
Namespace Name Mixin selector official <init>
Lafr;<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
- Mappings:
Namespace Name Mixin selector official <init>
Lafr;<init>(ILjava/util/List;)V
intermediary <init>
Lnet/minecraft/class_2781;<init>(ILjava/util/List;)V
named <init>
Lnet/minecraft/network/packet/s2c/play/EntityAttributesS2CPacket;<init>(ILjava/util/List;)V
-
-
Method Details
-
getPacketId
- Specified by:
getPacketId
in interfacePacket<ClientPlayPacketListener>
- Mappings:
Namespace Name Mixin selector official a
Lzb;a()Lzd;
intermediary method_55846
Lnet/minecraft/class_2596;method_55846()Lnet/minecraft/class_9145;
named getPacketId
Lnet/minecraft/network/packet/Packet;getPacketId()Lnet/minecraft/network/packet/PacketType;
-
apply
- Specified by:
apply
in interfacePacket<ClientPlayPacketListener>
- Mappings:
Namespace Name Mixin selector official a
Lafr;a(Labm;)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 b
Lafr;b()I
intermediary method_11937
Lnet/minecraft/class_2781;method_11937()I
named getEntityId
Lnet/minecraft/network/packet/s2c/play/EntityAttributesS2CPacket;getEntityId()I
-
getEntries
- Mappings:
Namespace Name Mixin selector official e
Lafr;e()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;
-