set %i:ITEMSTACK_POSSESSIVE% type [to] %mat:MATERIAL% — Statements

set %i:ITEMSTACK_POSSESSIVE% type [to] %mat:MATERIAL%
Item1.0.0

Description

Changes the material type of an item stack.

Examples

set item's type to diamond_sword

All Possible Usages (2)

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

set <i> type <mat>
set <i> type to <mat>

Related (Item)