ItemComponent - Dyed Color (Expression) — SkBee
Addon: SkBee · Category: Expression · Since: 3.9.0
Syntax
[the] dyed color [component] of %itemstacks/itemtypes/slots%Description
Represents the dyed color component of an item. This will work on leather armor, or items that have a dye component on their item model. See [**ItemModel**](https://minecraft.wiki/w/Data_component_format#dyed_color) on McWiki for more details. Requires Paper 1.21.3+
**Changers**: `set` = Will set the dyed color of the item. `delete` = Will delete the dyed color of this item. `reset` = Will reset the dyed color back to the original value.
Examples
set dyed color of player's tool to red
set dyed color of player's tool to rgb(255,100,3)
set dyed color of player's tool to yellow
delete dyed color of player's tool
reset dyed color of {_item}