Class SEntityPropertiesPacket
java.lang.Object
net.minecraft.network.play.server.SEntityPropertiesPacket
- All Implemented Interfaces:
IPacket<IClientPlayNetHandler>
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionprivate final List<SEntityPropertiesPacket.Snapshot>
private int
-
Constructor Summary
ConstructorDescriptionSEntityPropertiesPacket
(int p_i46892_1_, Collection<ModifiableAttributeInstance> p_i46892_2_) -
Method Summary
Modifier and TypeMethodDescriptionint
void
handle
(IClientPlayNetHandler p_148833_1_) void
read
(PacketBuffer p_148837_1_) void
write
(PacketBuffer p_148840_1_) 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.IPacket
isSkippable
-
Field Details
-
entityId
private int entityId -
attributes
-
-
Constructor Details
-
SEntityPropertiesPacket
public SEntityPropertiesPacket() -
SEntityPropertiesPacket
public SEntityPropertiesPacket(int p_i46892_1_, Collection<ModifiableAttributeInstance> p_i46892_2_)
-
-
Method Details
-
read
- Specified by:
read
in interfaceIPacket<IClientPlayNetHandler>
- Throws:
IOException
-
write
- Specified by:
write
in interfaceIPacket<IClientPlayNetHandler>
- Throws:
IOException
-
handle
- Specified by:
handle
in interfaceIPacket<IClientPlayNetHandler>
-
getEntityId
public int getEntityId() -
getValues
-