Class: Entity
Represents the state of an entity (a mob, the player, or other moving objects like minecarts) in the world.
Extended by
Constructors
new Entity()
private
new Entity():Entity
Returns
Properties
dimension
readonly
dimension:Dimension
Remarks
Dimension that the entity is currently within.
Throws
This property can throw when used.
fallDistance
Beta
readonly
fallDistance:number
Remarks
The distance an entity has fallen. The value is reset when the entity is teleported. The value is always 1 when gliding with Elytra.
Throws
This property can throw when used.
id
readonly
id:string