Item with Custom Model Data (Expression) — Skript

Addon: Skript · Category: Expression · Since: 2.5, 2.12 (boolean/string/color support)

Syntax

%itemtype% with [custom] model data %numbers/booleans/strings/colors%

Description

Get an item with custom model data.

Examples

give player a diamond sword with custom model data 2
set slot 1 of inventory of player to wooden hoe with custom model data 357
give player a diamond hoe with custom model data 2, true, true, "scythe", and rgb(0,0,100)

View source