public class CPacketEntityAction extends java.lang.Object implements Packet<INetHandlerPlayServer>
Modifier and Type | Class and Description |
---|---|
static class |
CPacketEntityAction.Action |
Constructor and Description |
---|
CPacketEntityAction() |
CPacketEntityAction(Entity entityIn,
CPacketEntityAction.Action actionIn) |
CPacketEntityAction(Entity entityIn,
CPacketEntityAction.Action actionIn,
int auxDataIn) |
Modifier and Type | Method and Description |
---|---|
CPacketEntityAction.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.
|
public CPacketEntityAction()
public CPacketEntityAction(Entity entityIn, CPacketEntityAction.Action actionIn)
public CPacketEntityAction(Entity entityIn, CPacketEntityAction.Action actionIn, int auxDataIn)
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 CPacketEntityAction.Action getAction()
public int getAuxData()