Item Model (Expression) — Skript

Addon: Skript · Category: Expression · Since: 2.17

Syntax

[the] item model [of %item types%]

Description

The item model of an item. Accepts a Namespaced Key which takes the form of "namespace:key", e.g. "minecraft:dirt". See <a href='https://minecraft.wiki/w/Identifier'> this article</a> for more detail.

Examples

set the item model of player's held item to "diamond"
set the item model of {_item} to "minecraft:dirt"

View source