[get] item in slot %slot:INT% of %inv:EXPR% — Expressions

[get] item in slot %slot:INT% of %inv:EXPR%
Inventory1.0.0

Description

Returns the item stack in a specific slot of an inventory, or null if the slot is empty.

Examples

set item to get item in slot 0 of gui

All Possible Usages (2)

Every distinct way you can write this pattern, with optional groups and choice groups expanded. Placeholders are shown as <name>.

item in slot <slot> of <inv>
get item in slot <slot> of <inv>

Related (Inventory)