public class PacketPlayInEntityAction extends WrappedPacket
Modifier and Type | Class and Description |
---|---|
static class |
PacketPlayInEntityAction.PlayerAction |
Modifier and Type | Field and Description |
---|---|
PacketPlayInEntityAction.PlayerAction |
action |
int |
entityId |
int |
jumpBoost |
Constructor and Description |
---|
PacketPlayInEntityAction() |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
getVanillaPacket()
Converts this wrapped packet to a Vanilla/NMS packet
|
void |
loadVanillaPacket(java.lang.Object packet)
Loads a Vanilla/NMS packet to this wrapper
|
toNMS
public PacketPlayInEntityAction.PlayerAction action
public int entityId
public int jumpBoost
public java.lang.Object getVanillaPacket()
WrappedPacket
getVanillaPacket
in class WrappedPacket
public void loadVanillaPacket(java.lang.Object packet)
WrappedPacket
loadVanillaPacket
in class WrappedPacket
packet
- - The loadable packet