set %i:ITEMSTACK_POSSESSIVE% custom model data [to] %val:INT% — Statements

set %i:ITEMSTACK_POSSESSIVE% custom model data [to] %val:INT%
Item1.0.0

Description

Sets the custom model data of an item stack.

Examples

set item's custom model data to 1001

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> custom model data <val>
set <i> custom model data to <val>

Related (Item)