Package devs.beer.nativepackets.api
Interface PlayerLookAtPacketView
- All Superinterfaces:
PacketView
Lazy copy-on-write view of a clientbound player look-at packet.
-
Method Summary
Modifier and TypeMethodDescriptionvoidsourceAnchor(EntityAnchor sourceAnchor) voidtargetEntity(int entityId, EntityAnchor targetAnchor, double fallbackX, double fallbackY, double fallbackZ) intvoidtargetPosition(double x, double y, double z) booleandoubletargetX()doubletargetY()doubletargetZ()Methods inherited from interface devs.beer.nativepackets.api.PacketView
isModified, nativeHandle, type
-
Method Details
-
sourceAnchor
EntityAnchor sourceAnchor() -
targetX
double targetX() -
targetY
double targetY() -
targetZ
double targetZ() -
targetsEntity
boolean targetsEntity() -
targetEntityId
int targetEntityId() -
targetAnchor
-
sourceAnchor
-
targetPosition
void targetPosition(double x, double y, double z) -
targetEntity
void targetEntity(int entityId, EntityAnchor targetAnchor, double fallbackX, double fallbackY, double fallbackZ)
-