Entity Documentation - minecraft:mark_variant

minecraft:mark_variant sets the variant for the entity to be used.

Important

minecraft:mark_variant requires the entity to be set up to use variants with the minecraft:variant property component.

Parameters

Name Default Value Type Description
value 0 Integer The ID of the variant. By convention, 0 is the ID of the base entity.

Example

"minecraft:mark_variant":{
    "value": 1
}

Vanilla entities examples

villager_v2

Note

In the villager_v2 example, the desert_villager has been assigned the value of 1.

"minecraft:mark_variant": {
    "value": 1
}

Vanilla entities using minecraft:mark_variant