Overview
minecraft:color2 is an entity component: it goes in the components object of a custom mob, or in one of its component groups. Stores a second color number, used by entities with two color layers such as tropical fish.
Fields
| Field | Type | Default | Description |
|---|---|---|---|
value | Integer | "0" | Second color number from the 16 color palette. |
Example
Inside the components object of BP/entities/<name>.json (values are the defaults or placeholders):
BP/entities/<name>.json
{
"minecraft:color2": {
"value": "0"
}
}