public class PacketPlayInUseEntity extends WrappedPacket
| Modifier and Type | Class and Description |
|---|---|
static class |
PacketPlayInUseEntity.EntityUseAction |
| Modifier and Type | Field and Description |
|---|---|
PacketPlayInUseEntity.EntityUseAction |
action |
int |
entityId |
HandType |
hand |
Vector |
targetLocation |
| Constructor and Description |
|---|
PacketPlayInUseEntity() |
| 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
|
toNMSpublic PacketPlayInUseEntity.EntityUseAction action
public int entityId
public HandType hand
public Vector targetLocation
public java.lang.Object getVanillaPacket()
WrappedPacketgetVanillaPacket in class WrappedPacketpublic void loadVanillaPacket(java.lang.Object packet)
WrappedPacketloadVanillaPacket in class WrappedPacketpacket - - The loadable packet