moonscript
Search…
moonscript
Main page
Setup moonscript
How to use moonscript
Documentation
Examples
API
Events
Functions
Objects
MoveType
Item
AxisAlignedBB
Entity
Packets
Resolution
Powered By
GitBook
Entity
Entity Object Information
This object is used when getting all players in a world.
Field
Object
Description
x
Number
Pos x
y
Number
Pos y
z
Number
Pos z
prevX
Number
Last tick x
prevY
Number
Last tick y
prevZ
Number
Last tick z
yaw
Number
Rotation yaw
pitch
Number
Rotation pitch
health
Number
Current health (living / player only)
maxHealth
Number
Max health that the entity can have (living / player only)
armor
Number
Current armor level (living / player only)
height
Number
Entity height
hurtTime
Number
Entity hurtTime level
ground
Boolean
Entity ground state
name
String
Entity name
renderName
String
Entity renderName
entityBoundingBox
AxisAlignedBB
Entity bounding box
collisionBoundingBox
AxisAlignedBB
Collision bounding box
Previous
AxisAlignedBB
Next
Packets
Last modified
11mo ago
Copy link