public class NPacketPlayInEntityAction extends Object implements NPacketPlayIn
Modifier and Type | Class and Description |
---|---|
static class |
NPacketPlayInEntityAction.EnumPlayerAction |
Modifier and Type | Field and Description |
---|---|
NPacketPlayInEntityAction.EnumPlayerAction |
action |
int |
c |
int |
entityId |
Constructor and Description |
---|
NPacketPlayInEntityAction() |
NPacketPlayInEntityAction(int entityId,
NPacketPlayInEntityAction.EnumPlayerAction action,
int c)
Create a new entity action packet
|
Modifier and Type | Method and Description |
---|---|
PacketType |
getPacketType() |
public int entityId
public int c
public NPacketPlayInEntityAction.EnumPlayerAction action
public NPacketPlayInEntityAction()
public NPacketPlayInEntityAction(int entityId, NPacketPlayInEntityAction.EnumPlayerAction action, int c)
entityId
- the Id of the concerned IDaction
- the action made by the entityc
- unknow value yetpublic PacketType getPacketType()
getPacketType
in interface NPacket