Files
minecraft-bedrock-json-schemas/source/behavior/entities/format/components/variant.json

18 lines
690 B
JSON
Raw Normal View History

2021-10-08 12:59:03 +02:00
{
2021-10-08 13:04:13 +02:00
"$id": "blockception.minecraft.behavior.entities.minecraft.variant",
2021-10-08 12:59:03 +02:00
"additionalProperties": false,
"type": "object",
2021-10-08 13:04:13 +02:00
"title": "Variant",
2021-10-08 12:59:03 +02:00
"description": "Used to differentiate the component group of a variant of an entity from others (e.g. ocelot, villager) Parameters",
2021-10-11 19:10:26 +02:00
"required": ["value"],
2021-10-08 12:59:03 +02:00
"properties": {
"value": {
"type": "integer",
"default": 0,
"description": "The ID of the variant. By convention, 0 is the ID of the base entity",
"title": "Value"
}
2021-10-11 18:10:42 +02:00
},
2021-10-11 19:10:26 +02:00
"examples": [{ "value": 0 }, { "value": 1 }, { "value": 2 }, { "value": 3 }, { "value": 4 }, { "value": 5 }, { "value": 6 }, { "value": 7 }, { "value": 8 }, { "value": 9 }]
2021-10-08 12:59:03 +02:00
}