public class SPacketEntityMetadata extends java.lang.Object implements Packet<INetHandlerPlayClient>
Modifier and Type | Field and Description |
---|---|
private java.util.List<EntityDataManager.DataEntry<?>> |
dataManagerEntries |
private int |
entityId |
Constructor and Description |
---|
SPacketEntityMetadata() |
SPacketEntityMetadata(int entityIdIn,
EntityDataManager dataManagerIn,
boolean sendAll) |
Modifier and Type | Method and Description |
---|---|
java.util.List<EntityDataManager.DataEntry<?>> |
getDataManagerEntries() |
int |
getEntityId() |
void |
processPacket(INetHandlerPlayClient handler) |
void |
readPacketData(PacketBuffer buf) |
void |
writePacketData(PacketBuffer buf) |
private int entityId
private java.util.List<EntityDataManager.DataEntry<?>> dataManagerEntries
public SPacketEntityMetadata()
public SPacketEntityMetadata(int entityIdIn, EntityDataManager dataManagerIn, boolean sendAll)
public void readPacketData(PacketBuffer buf) throws java.io.IOException
readPacketData
in interface Packet<INetHandlerPlayClient>
java.io.IOException
public void writePacketData(PacketBuffer buf) throws java.io.IOException
writePacketData
in interface Packet<INetHandlerPlayClient>
java.io.IOException
public void processPacket(INetHandlerPlayClient handler)
processPacket
in interface Packet<INetHandlerPlayClient>
public java.util.List<EntityDataManager.DataEntry<?>> getDataManagerEntries()
public int getEntityId()