Has Custom Model Data (Condition) — Skript
Addon: Skript · Category: Condition · Since: 2.5, 2.12 (expanded data types)
Syntax
%itemtypes% (has|have) [custom] model data [floats|flags|strings|colo[u]rs]Description
Check if an item has a custom model data tag
Examples
player's tool has custom model dataif player's tool has custom model data flags:
loop custom model data flags of player's tool:
send "Flag %loop-index%: %loop-value%"
set {_coloured} to whether player's tool has model data colours