Item With Model (Expression) — Skript

Addon: Skript · Category: Expression · Since: 2.17

Syntax

%item type% with [the] [item] model %text%

Description

Returns a copy of an item with a custom item model. 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 {_item} to emerald with model "minecraft:diamond" named "fake diamond"'
give {_item} to player

View source