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.
Is Animal
entity → boolean
Pops an entity and returns true if it is classified as an animal.
Is Hostile
entity → boolean
Pops an entity and returns true if it is classified as hostile (monster).
Is Item
entity → boolean
Pops and entity and returns true if it is classified as an Item entity.
Is Player
entity → boolean
Pops an entity and returns true if it is classified as a player.
Is Living
entity → boolean
Pops an entity and returns true if it is classified as a ‘living entity’.
Is Mob
entity → boolean
Pops an entity and returns true if it is classified as a mob.
Zone Entity
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.
Zone Animal
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.
Zone Hostile
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.
Zone Item
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.
Zone Player
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.
Zone Living
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.
Zone Not Animal
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.
Zone Not Hostile
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.
Zone Not Item
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.
Zone Not Player
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.
Zone Not Living
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.