Entity Documentation - minecraft:color

minecraft:color Defines the entity's main color.

Note

This attribute only works on vanilla entities that have predefined color values (sheep, llama, shulker).

Parameters

Name Default Value Type Description
value 0 Integer The Palette Color value of the entity.

Example

"minecraft:color":{
    "value": 0
}

Vanilla entities examples

tropical fish

Note

This snippet is showing how minecraft:color and minecraft:color2 working together to create a special variant.

"minecraft:color": {
    "value": 7
},
"minecraft:color2": {
    "value": 3
}

Vanilla entities using minecraft:color