minecraft:dyeable for you with a switch.Get GodCraftOverview
minecraft:dyeable is an item component: it goes in the components object of a custom item. Lets players color the item with dye, the same way leather armor can be dyed in a cauldron or crafting grid.
Fields
| Field | Type | Default | Description |
|---|---|---|---|
default_color | Color255RGB | [255,255,255] | The color the item has before anyone dyes it. |
Example
Inside the components object of BP/items/<name>.json (values are the defaults or placeholders):
BP/items/<name>.json
{
"minecraft:dyeable": {
"default_color": [
255,
255,
255
]
}
}