set slot %slot:INT% of %inv:EXPR% to %item:ITEMSTACK% — Statements

set slot %slot:INT% of %inv:EXPR% to %item:ITEMSTACK%
Inventory1.0.0

Description

Places an item stack in a specific slot of an inventory.

Examples

set slot 0 of gui to sword

All Possible Usages (1)

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

set slot <slot> of <inv> to <item>

Related (Inventory)