ItemComponent - CustomModelData Component Apply (Section) — SkBee

Addon: SkBee · Category: Section · Since: 3.8.0

Syntax

apply custom model data [component] to %itemstacks/itemtypes/slots%

Description

Apply a custom model data component to items. Requires Paper 1.21.4+ See [**CustomModelData Component**](https://minecraft.wiki/w/Data_component_format#custom_model_data) on McWiki for more info.

**Entries**: - `floats` = A list of numbers. - `flags` = A list of booleans (true/false). - `strings` = A list of strings. - `colors` = A list of colors.

Examples

apply custom model data to player's tool:
	floats: 1, 2, 3, 4, 5
	strings: "hello", "yippee"
	flags: true, true, true, false
	colors: blue, green, rgb(1,1,1)

View source