public class NPacketPlayInUseEntity extends Object implements NPacketPlayIn
Modifier and Type | Class and Description |
---|---|
static class |
NPacketPlayInUseEntity.EnumEntityUseAction |
Modifier and Type | Field and Description |
---|---|
NPacketPlayInUseEntity.EnumEntityUseAction |
action |
int |
entityId |
Hand |
hand |
Vector |
vector
WARN: this value seems to be not present in 1.17+
|
Constructor and Description |
---|
NPacketPlayInUseEntity() |
Modifier and Type | Method and Description |
---|---|
PacketType |
getPacketType()
Get type of packet
|
void |
read(PacketSerializer serializer,
Version version)
Read packet from given serializer.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
create, getPacketName, write
public int entityId
public Vector vector
public NPacketPlayInUseEntity.EnumEntityUseAction action
public Hand hand
public void read(PacketSerializer serializer, Version version)
NPacket
public PacketType getPacketType()
NPacket
getPacketType
in interface NPacket