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 iaintermediary net/minecraft/class_1547named net/minecraft/network/packet/s2c/play/EntityAttributesS2CPacket
-
Nested Class Summary
Nested Classes Modifier and Type Class Description classEntityAttributesS2CPacket.Entry -
Field Summary
Fields Modifier and Type Field Description private intentityIdprivate List<EntityAttributesS2CPacket.Entry>entries -
Constructor Summary
Constructors Constructor Description EntityAttributesS2CPacket()EntityAttributesS2CPacket(int entityId, Collection<EntityAttributeInstance> attributes) -
Method Summary
Modifier and Type Method Description voidapply(ClientPlayPacketListener clientPlayPacketListener)intgetEntityId()List<EntityAttributesS2CPacket.Entry>getEntries()voidread(PacketByteBuf buf)voidwrite(PacketByteBuf buf)
-
Field Details
-
entityId
private int entityId- Mappings:
Namespace Name Mixin selector official aLia;a:Iintermediary field_6367Lnet/minecraft/class_1547;field_6367:Inamed entityIdLnet/minecraft/network/packet/s2c/play/EntityAttributesS2CPacket;entityId:I
-
entries
- Mappings:
Namespace Name Mixin selector official bLia;b:Ljava/util/List;intermediary field_6368Lnet/minecraft/class_1547;field_6368:Ljava/util/List;named entriesLnet/minecraft/network/packet/s2c/play/EntityAttributesS2CPacket;entries:Ljava/util/List;
-
-
Constructor Details
-
EntityAttributesS2CPacket
public EntityAttributesS2CPacket() -
EntityAttributesS2CPacket
- Mappings:
Namespace Name Mixin selector official <init>Lia;<init>(ILjava/util/Collection;)Vintermediary <init>Lnet/minecraft/class_1547;<init>(ILjava/util/Collection;)Vnamed <init>Lnet/minecraft/network/packet/s2c/play/EntityAttributesS2CPacket;<init>(ILjava/util/Collection;)V
-
-
Method Details
-
read
- Specified by:
readin interfacePacket<ClientPlayPacketListener>- Throws:
IOException- Mappings:
Namespace Name Mixin selector official aLff;a(Lem;)Vintermediary method_5238Lnet/minecraft/class_1457;method_5238(Lnet/minecraft/class_1435;)Vnamed readLnet/minecraft/network/Packet;read(Lnet/minecraft/util/PacketByteBuf;)V
-
write
- Specified by:
writein interfacePacket<ClientPlayPacketListener>- Throws:
IOException- Mappings:
Namespace Name Mixin selector official bLff;b(Lem;)Vintermediary method_5240Lnet/minecraft/class_1457;method_5240(Lnet/minecraft/class_1435;)Vnamed writeLnet/minecraft/network/Packet;write(Lnet/minecraft/util/PacketByteBuf;)V
-
apply
- Specified by:
applyin interfacePacket<ClientPlayPacketListener>- Mappings:
Namespace Name Mixin selector official aLia;a(Lfj;)Vintermediary method_5700Lnet/minecraft/class_1547;method_5700(Lnet/minecraft/class_1462;)Vnamed applyLnet/minecraft/network/packet/s2c/play/EntityAttributesS2CPacket;apply(Lnet/minecraft/network/listener/ClientPlayPacketListener;)V
-
getEntityId
- Mappings:
Namespace Name Mixin selector official aLia;a()Iintermediary method_5699Lnet/minecraft/class_1547;method_5699()Inamed getEntityIdLnet/minecraft/network/packet/s2c/play/EntityAttributesS2CPacket;getEntityId()I
-
getEntries
- Mappings:
Namespace Name Mixin selector official bLia;b()Ljava/util/List;intermediary method_5701Lnet/minecraft/class_1547;method_5701()Ljava/util/List;named getEntriesLnet/minecraft/network/packet/s2c/play/EntityAttributesS2CPacket;getEntries()Ljava/util/List;
-