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) |
void |
readPacketData(PacketBuffer buf) |
void |
writePacketData(PacketBuffer buf) |
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()