minecraft:is_dyeable for you with a switch.Get GodCraftOverview
minecraft:is_dyeable is an entity component: it goes in the components object of a custom mob, or in one of its component groups. Lets players use dye on the entity to change its color, like a wolf collar.
Fields
| Field | Type | Default | Description |
|---|---|---|---|
interact_text | String | none | Button text shown on touch screens when holding a dye near the entity. |
Example
Inside the components object of BP/entities/<name>.json (values are the defaults or placeholders):
BP/entities/<name>.json
{
"minecraft:is_dyeable": {
"interact_text": ""
}
}