Entity Querying
This collection of tricks provides options to gather information from entities in the world.
These tricks will blunder if their target is not being observed.
Keep in mind that entity fragments may decay .
Motive Verification Ingress
Entity -> EntityType
Given an entity, returns its type.
Locational Ingress
Entity -> Vector
Given an entity, returns the position of its feet.
Perspective Ingress
Entity -> Vector
Given an entity, returns the position of its head.
Directional Ingress
Entity -> Vector
Given an entity, returns the facing of its head as a unit vector.
Movement Ingress
Entity -> Vector
Given an entity, returns its current velocity as a vector in blocks per tick.
Stature Ingress
Entity -> Number
Given an entity, returns its height in blocks.
Alternative Ingress
Entity -> Boolean
Given an entity, returns whether the entity is crouching. If the entity is unable to crouch, false will always be given.
Hearth's Ingress
Entity -> Boolean
Given an entity, returns whether the entity is on fire.
Trekking Ingress
Entity -> Boolean
Given an entity, returns whether the entity is sprinting. If the entity is incapable of sprinting, false will always be given.
Guard Ingress
Entity -> Boolean
Given an entity, returns whether the entity is blocking using a shield.
Vigor Ingress
Entity -> Number
Given an entity, returns its maximum health. Blunders if the entity does not have health.
Fettle Ingress
Entity -> Number
Given an entity, returns its current health. Blunders if the entity does not have health.
Bulwark Ingress
Entity -> Number
Given an entity, returns its total armor value. Blunders if the entity cannot have armor.
Ingress of Occupation
Entity -> Number
Returns the scale of the given entity. Blunders if the entity cannot scale.
Observer's Ingress
Entity? -> [Number]
Returns the identifiers of all the flecks the given player can see. If no player is supplied, the caster is queried for this information instead.
Ingress of Appetite
Entity -> Number
Given a player, returns their current food level.
Ingress of Fulfilment
Entity -> Number
Given a player, returns their current saturation.