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 sm
intermediary net/minecraft/class_2781
named net/minecraft/network/packet/s2c/play/EntityAttributesS2CPacket
-
Nested Class Summary
Nested Classes Modifier and Type Class Description 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()
EntityAttributesS2CPacket(int entityId, Collection<EntityAttributeInstance> attributes)
-
Method Summary
Modifier and Type Method Description void
apply(ClientPlayPacketListener clientPlayPacketListener)
int
getEntityId()
List<EntityAttributesS2CPacket.Entry>
getEntries()
void
read(PacketByteBuf buf)
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 int entityId- Mappings:
Namespace Name Mixin selector official a
Lsm;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
Lsm;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
public EntityAttributesS2CPacket() -
EntityAttributesS2CPacket
- Mappings:
Namespace Name Mixin selector official <init>
Lsm;<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
-
-
Method Details
-
read
- Specified by:
read
in interfacePacket<ClientPlayPacketListener>
- Throws:
IOException
- Mappings:
Namespace Name Mixin selector official a
Lpa;a(Lnw;)V
intermediary method_11053
Lnet/minecraft/class_2596;method_11053(Lnet/minecraft/class_2540;)V
named read
Lnet/minecraft/network/Packet;read(Lnet/minecraft/network/PacketByteBuf;)V
-
write
- Specified by:
write
in interfacePacket<ClientPlayPacketListener>
- Throws:
IOException
- Mappings:
Namespace Name Mixin selector official b
Lpa;b(Lnw;)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
Lsm;a(Lpd;)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
Lsm;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
Lsm;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;
-