Equippable Component - Model (Expression) — Skript

Addon: Skript · Category: Expression · Since: 2.13

Syntax

[the] equipped (model|asset) (key|id) [of %equippablecomponents%]

Description

The model of the item when equipped. The model key is represented as a namespaced key. A namespaced key can be formatted as 'namespace:id' or 'id'. It can only contain one ':' to separate the namespace and the id. Only alphanumeric characters, periods, underscores, and dashes can be used. NOTE: Equippable component elements are experimental. Thus, they are subject to change and may not work as intended.

Examples

set the equipped model key of {_item} to "custom_model"
set {_component} to the equippable component of {_item}
set the equipped model id of {_component} to "custom_model"

View source