public class SEntityPropertiesPacket extends java.lang.Object implements IPacket<IClientPlayNetHandler>
| Modifier and Type | Class and Description |
|---|---|
class |
SEntityPropertiesPacket.Snapshot |
| Modifier and Type | Field and Description |
|---|---|
private int |
entityId |
private java.util.List<SEntityPropertiesPacket.Snapshot> |
snapshots |
| Constructor and Description |
|---|
SEntityPropertiesPacket() |
SEntityPropertiesPacket(int entityIdIn,
java.util.Collection<IAttributeInstance> instances) |
| Modifier and Type | Method and Description |
|---|---|
int |
getEntityId() |
java.util.List<SEntityPropertiesPacket.Snapshot> |
getSnapshots() |
void |
processPacket(IClientPlayNetHandler handler) |
void |
readPacketData(PacketBuffer buf) |
void |
writePacketData(PacketBuffer buf) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitshouldSkipErrorsprivate int entityId
private final java.util.List<SEntityPropertiesPacket.Snapshot> snapshots
public SEntityPropertiesPacket()
public SEntityPropertiesPacket(int entityIdIn,
java.util.Collection<IAttributeInstance> instances)
public void readPacketData(PacketBuffer buf) throws java.io.IOException
readPacketData in interface IPacket<IClientPlayNetHandler>java.io.IOExceptionpublic void writePacketData(PacketBuffer buf) throws java.io.IOException
writePacketData in interface IPacket<IClientPlayNetHandler>java.io.IOExceptionpublic void processPacket(IClientPlayNetHandler handler)
processPacket in interface IPacket<IClientPlayNetHandler>public int getEntityId()
public java.util.List<SEntityPropertiesPacket.Snapshot> getSnapshots()