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 sx
intermediary net/minecraft/class_2781
named net/minecraft/network/packet/s2c/play/EntityAttributesS2CPacket
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
EntityAttributesS2CPacket.Entry
-
Field Summary
Fields Modifier and Type Field Description private int
entityId
private 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 void
apply(ClientPlayPacketListener clientPlayPacketListener)
int
getEntityId()
List<EntityAttributesS2CPacket.Entry>
getEntries()
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
isWritingErrorSkippable
-
Field Details
-
entityId
private final int entityId- Mappings:
Namespace Name Mixin selector official a
Lsx;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
Lsx;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>
Lsx;<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>
Lsx;<init>(Lnx;)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
Lpb;a(Lnx;)V
intermediary method_11052
Lnet/minecraft/class_2596;method_11052(Lnet/minecraft/class_2540;)V
named write
Lnet/minecraft/network/Packet;write(Lnet/minecraft/network/PacketByteBuf;)V
-
apply
- Specified by:
apply
in interfacePacket<ClientPlayPacketListener>
- Mappings:
Namespace Name Mixin selector official a
Lsx;a(Lpe;)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
- Mappings:
Namespace Name Mixin selector official b
Lsx;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 c
Lsx;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;
-