Package devs.beer.nativepackets.api
Interface EntityPositionSyncPacketView
- All Superinterfaces:
PacketView
Lazy copy-on-write view of an absolute entity synchronization packet.
-
Method Summary
Modifier and TypeMethodDescriptionintentityId()voidentityId(int value) voidmovement(double x, double y, double z) doubledoubledoublebooleanonGround()voidonGround(boolean value) floatpitch()voidposition(double x, double y, double z) voidrotation(float yaw, float pitch) doublex()doubley()floatyaw()doublez()Methods inherited from interface devs.beer.nativepackets.api.PacketView
isModified, nativeHandle, type
-
Method Details
-
entityId
int entityId() -
x
double x() -
y
double y() -
z
double z() -
movementX
double movementX() -
movementY
double movementY() -
movementZ
double movementZ() -
yaw
float yaw() -
pitch
float pitch() -
onGround
boolean onGround() -
entityId
void entityId(int value) -
position
void position(double x, double y, double z) -
movement
void movement(double x, double y, double z) -
rotation
void rotation(float yaw, float pitch) -
onGround
void onGround(boolean value)
-