public class C0BPacketEntityAction extends java.lang.Object implements Packet<INetHandlerPlayServer>
Modifier and Type | Class and Description |
---|---|
static class |
C0BPacketEntityAction.Action |
Modifier and Type | Field and Description |
---|---|
private C0BPacketEntityAction.Action |
action |
private int |
auxData |
private int |
entityID |
Constructor and Description |
---|
C0BPacketEntityAction() |
C0BPacketEntityAction(Entity entity,
C0BPacketEntityAction.Action action) |
C0BPacketEntityAction(Entity entity,
C0BPacketEntityAction.Action action,
int auxData) |
Modifier and Type | Method and Description |
---|---|
C0BPacketEntityAction.Action |
getAction() |
int |
getAuxData() |
void |
processPacket(INetHandlerPlayServer handler)
Passes this Packet on to the NetHandler for processing.
|
void |
readPacketData(PacketBuffer buf)
Reads the raw packet data from the data stream.
|
void |
writePacketData(PacketBuffer buf)
Writes the raw packet data to the data stream.
|
private int entityID
private C0BPacketEntityAction.Action action
private int auxData
public C0BPacketEntityAction()
public C0BPacketEntityAction(Entity entity, C0BPacketEntityAction.Action action)
public C0BPacketEntityAction(Entity entity, C0BPacketEntityAction.Action action, int auxData)
public void readPacketData(PacketBuffer buf) throws java.io.IOException
readPacketData
in interface Packet<INetHandlerPlayServer>
java.io.IOException
public void writePacketData(PacketBuffer buf) throws java.io.IOException
writePacketData
in interface Packet<INetHandlerPlayServer>
java.io.IOException
public void processPacket(INetHandlerPlayServer handler)
processPacket
in interface Packet<INetHandlerPlayServer>
public C0BPacketEntityAction.Action getAction()
public int getAuxData()