Class EntityAttributesS2CPacket
java.lang.Object
net.minecraft.network.packet.s2c.play.EntityAttributesS2CPacket
- All Implemented Interfaces:
Packet<ClientPlayPacketListener>
- Mappings:
Namespace Name official zh
intermediary net/minecraft/class_2781
named net/minecraft/network/packet/s2c/play/EntityAttributesS2CPacket
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionprivate final int
private final List<EntityAttributesS2CPacket.Entry>
-
Constructor Summary
ConstructorDescriptionEntityAttributesS2CPacket
(int entityId, Collection<EntityAttributeInstance> attributes) -
Method Summary
Modifier and TypeMethodDescriptionvoid
apply
(ClientPlayPacketListener clientPlayPacketListener) int
void
write
(PacketByteBuf buf) 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
-
Field Details
-
entityId
private final int entityId- Mappings:
Namespace Name Mixin selector official a
Lzh;a: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 b
Lzh;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
- Mappings:
Namespace Name Mixin selector official <init>
Lzh;<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>
Lzh;<init>(Lss;)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
- Specified by:
write
in interfacePacket<ClientPlayPacketListener>
- Mappings:
Namespace Name Mixin selector official a
Lvb;a(Lss;)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
- Specified by:
apply
in interfacePacket<ClientPlayPacketListener>
- Mappings:
Namespace Name Mixin selector official a
Lzh;a(Lve;)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
Lzh;a()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 c
Lzh;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;
-