Overview
minecraft:color is an entity component: it goes in the components object of a custom mob, or in one of its component groups. Stores a color number for the entity. It only changes how vanilla entities look that already support colors, such as sheep, llamas and shulkers, but you can read it in Molang for your own.
Fields
| Field | Type | Default | Description |
|---|---|---|---|
value | Integer | "0" | Color number from the standard 16 color palette. |
Example
Inside the components object of BP/entities/<name>.json (values are the defaults or placeholders):
BP/entities/<name>.json
{
"minecraft:color": {
"value": "0"
}
}