Methods
entity:
Method
Parameters
Returns
Description
None
x: float
y: float
z: float
Get the current position of the entity. Returns individual coordinates x, y, z.
dist: float
Entity[]
Get entities within the specified distance. Within a 3x3 grid of chunks around the entity.
dimension: string
x: float
y: float
z: float
None
Transport this entity to coordinates (x,y,z) in the dimension specified.
The x, y, and z fields are optional and default to 0.
Last updated