ItemComponent - Item Model (Expression) — SkBee

Addon: SkBee · Category: Expression · Since: 3.8.0

Syntax

[the] item model of %itemstacks/itemtypes/slots%

Description

Represents the item model component of an item. See [**ItemModel**](https://minecraft.wiki/w/Data_component_format#item_model) on McWiki for more details.

**Changers**: `set` = Will set the item model of the item. `delete` = Will delete the item model of this item. `reset` = Will reset the item model back to the vanilla value.

Examples

set {_model} to item model of player's tool
set item model of player's tool to "minecraft:diamond_sword"
set item model of {_item} to "my_pack:some_cool_model"
reset item model of player's tool
delete item model of {_item}

View source