Skip to content

Entities

The following glyphs act on entities, allowing practitioners to distinguish, sort and detect entities of different types. Some return booleans depending on the type of entity fed, while others are meant for detection, and return lists of entities. For further details, research Minecraft’s entity classification system.

entity$() → boolean$() Pops an entity and returns true if it is classified as an animal.

entity$() → boolean$() Pops an entity and returns true if it is classified as hostile (monster).

entity$() → boolean$() Pops and entity and returns true if it is classified as an Item entity.

entity$() → boolean$() Pops an entity and returns true if it is classified as a player.

entity$() → boolean$() Pops an entity and returns true if it is classified as a ‘living entity’.

entity$() → boolean$() Pops an entity and returns true if it is classified as a mob.

vec, num$() → list$() Pops a number and a position vector. Sweeps a sphere of radius equal to the popped number and returns a list of the entities found within that region. The list may be empty, and will never contain more than 256 elements.

vec, num$() → list$() Pops a number and a position vector. Sweeps a sphere of radius equal to the popped number and returns a list of entities classified as animals found within that region. The list may be empty, and will never contain more than 256 elements.

vec, num$() → list$() Pops a number and a position vector. Sweeps a sphere of radius equal to the popped number and returns a list of entities classified as hostile/monsters found within that region. The list may be empty, and will never contain more than 256 elements.

vec, num$() → list$() Pops a number and a position vector. Sweeps a sphere of radius equal to the popped number and returns a list of entities classified as item entities found within that region. The list may be empty, and will never contain more than 256 elements.

vec, num$() → list$() Pops a number and a position vector. Sweeps a sphere of radius equal to the popped number and returns a list of entities classified as players found within that region. The list may be empty, and will never contain more than 256 elements.

vec, num$() → list$() Pops a number and a position vector. Sweeps a sphere of radius equal to the popped number and returns a list of entities classified as ‘living entities’ found within that region. The list may be empty, and will never contain more than 256 elements.

vec, num$() → list$() Pops a number and a position vector. Sweeps a sphere of radius equal to the popped number and returns a list of entities not classified as animals found within that region. The list may be empty, and will never contain more than 256 elements.

vec, num$() → list$() Pops a number and a position vector. Sweeps a sphere of radius equal to the popped number and returns a list of entities not classified as hostile/monsters found within that region. The list may be empty, and will never contain more than 256 elements.

vec, num$() → list$() Pops a number and a position vector. Sweeps a sphere of radius equal to the popped number and returns a list of entities not classified as item entities found within that region. The list may be empty, and will never contain more than 256 elements.

vec, num$() → list$() Pops a number and a position vector. Sweeps a sphere of radius equal to the popped number and returns a list of entities not classified as players found within that region. The list may be empty, and will never contain more than 256 elements.

vec, num$() → list$() Pops a number and a position vector. Sweeps a sphere of radius equal to the popped number and returns a list of entities not classified as ‘living entities’ found within that region. The list may be empty, and will never contain more than 256 elements.