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 sxintermediary net/minecraft/class_2781named net/minecraft/network/packet/s2c/play/EntityAttributesS2CPacket
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classEntityAttributesS2CPacket.Entry -
Field Summary
Fields Modifier and Type Field Description private intentityIdprivate List<EntityAttributesS2CPacket.Entry>entries -
Constructor Summary
Constructors Constructor Description EntityAttributesS2CPacket(int entityId, Collection<EntityAttributeInstance> attributes)EntityAttributesS2CPacket(PacketByteBuf buf) -
Method Summary
Modifier and Type Method Description voidapply(ClientPlayPacketListener clientPlayPacketListener)intgetEntityId()List<EntityAttributesS2CPacket.Entry>getEntries()voidwrite(PacketByteBuf buf)Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.network.Packet
isWritingErrorSkippable
-
Field Details
-
entityId
private final int entityId- Mappings:
Namespace Name Mixin selector official aLsx;a:Iintermediary field_12719Lnet/minecraft/class_2781;field_12719:Inamed entityIdLnet/minecraft/network/packet/s2c/play/EntityAttributesS2CPacket;entityId:I
-
entries
- Mappings:
Namespace Name Mixin selector official bLsx;b:Ljava/util/List;intermediary field_12720Lnet/minecraft/class_2781;field_12720:Ljava/util/List;named entriesLnet/minecraft/network/packet/s2c/play/EntityAttributesS2CPacket;entries:Ljava/util/List;
-
-
Constructor Details
-
EntityAttributesS2CPacket
- Mappings:
Namespace Name Mixin selector official <init>Lsx;<init>(ILjava/util/Collection;)Vintermediary <init>Lnet/minecraft/class_2781;<init>(ILjava/util/Collection;)Vnamed <init>Lnet/minecraft/network/packet/s2c/play/EntityAttributesS2CPacket;<init>(ILjava/util/Collection;)V
-
EntityAttributesS2CPacket
- Mappings:
Namespace Name Mixin selector official <init>Lsx;<init>(Lnx;)Vintermediary <init>Lnet/minecraft/class_2781;<init>(Lnet/minecraft/class_2540;)Vnamed <init>Lnet/minecraft/network/packet/s2c/play/EntityAttributesS2CPacket;<init>(Lnet/minecraft/network/PacketByteBuf;)V
-
-
Method Details
-
write
- Specified by:
writein interfacePacket<ClientPlayPacketListener>- Mappings:
Namespace Name Mixin selector official aLpb;a(Lnx;)Vintermediary method_11052Lnet/minecraft/class_2596;method_11052(Lnet/minecraft/class_2540;)Vnamed writeLnet/minecraft/network/Packet;write(Lnet/minecraft/network/PacketByteBuf;)V
-
apply
- Specified by:
applyin interfacePacket<ClientPlayPacketListener>- Mappings:
Namespace Name Mixin selector official aLsx;a(Lpe;)Vintermediary method_11936Lnet/minecraft/class_2781;method_11936(Lnet/minecraft/class_2602;)Vnamed applyLnet/minecraft/network/packet/s2c/play/EntityAttributesS2CPacket;apply(Lnet/minecraft/network/listener/ClientPlayPacketListener;)V
-
getEntityId
- Mappings:
Namespace Name Mixin selector official bLsx;b()Iintermediary method_11937Lnet/minecraft/class_2781;method_11937()Inamed getEntityIdLnet/minecraft/network/packet/s2c/play/EntityAttributesS2CPacket;getEntityId()I
-
getEntries
- Mappings:
Namespace Name Mixin selector official cLsx;c()Ljava/util/List;intermediary method_11938Lnet/minecraft/class_2781;method_11938()Ljava/util/List;named getEntriesLnet/minecraft/network/packet/s2c/play/EntityAttributesS2CPacket;getEntries()Ljava/util/List;
-