Class SEntityPropertiesPacket
java.lang.Object
net.minecraft.network.play.server.SEntityPropertiesPacket
- All Implemented Interfaces:
IPacket<IClientPlayNetHandler>
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final List<SEntityPropertiesPacket.Snapshot>private int -
Constructor Summary
ConstructorsConstructorDescriptionSEntityPropertiesPacket(int p_i46892_1_, Collection<ModifiableAttributeInstance> p_i46892_2_) -
Method Summary
Modifier and TypeMethodDescriptionintvoidhandle(IClientPlayNetHandler p_148833_1_) voidread(PacketBuffer p_148837_1_) voidwrite(PacketBuffer p_148840_1_) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:
readin interfaceIPacket<IClientPlayNetHandler>- Throws:
IOException
-
write
- Specified by:
writein interfaceIPacket<IClientPlayNetHandler>- Throws:
IOException
-
handle
- Specified by:
handlein interfaceIPacket<IClientPlayNetHandler>
-
getEntityId
public int getEntityId() -
getValues
-