Inventory Information

These are tricks that pull information from an inventory. This can either be the caster's own, or an external block or entity.

It is not possible to interact with the inventories of players that are not the caster.

Fence's Ingress



Slot -> Item

Returns the type of item that the given slot contains.

Juggling Delusion



-> Item

Returns the type of item in the caster's offhand.

Note: Slot References

Item slots may be referenced by spells. Creating such a reference comes at no cost. However, using the reference in a way that moves the items within the slot, will incur a move cost. This cost is equivalent to (distance * amount * 0.5G). Slot references either use the position of the caster at the time of move, or the position of their target when calculating cost.

Catch Delusion



-> Slot

Returns a slot reference of the caster's offhand.

Intrusive Ingress



Number -> Slot

Number, Vector -> Slot

Number, Entity -> Slot

Constructs and returns a slot from an index and an inventory source, using the caster if no source is given.

Collector's Ingress



Item... | [Item] -> [Slot]

Vector, Item... | [Item] -> [Slot]

Entity, Item... | [Item] -> [Slot]

Returns a list of slots from an inventory source.

If no source is given, the caster's inventory is used. An item or list of items may be passed as a filter to get only relevant slots from the inventory source.

Ingress of Extent



-> Number

Vector -> Number

Entity -> Number

Returns the number of slots in an inventory source, using the caster if no source is given.

Cranium Delusion



-> Number | Void

Returns the selected slot in the caster's Hat .

Ingress of Authority



Slot... | [Slot] -> Number

Returns the amount of mana in the given slots.

Crowning Ingress



Slot... | [Slot] -> Number

Returns the maximum amount of mana which may be stored in total in the given slots.

Ingress of Plenitude



Slot -> Number

Returns the amount of items stored in the given slot.