Files
minecraft-bedrock-json-schemas/source/resource/animation_controllers/animation_controller.json

25 lines
886 B
JSON
Raw Normal View History

2020-11-01 17:22:42 +01:00
{
"$id": "blockception.minecraft.resource.animation_controller",
2020-11-17 09:56:41 +01:00
"examples": [
{
"format_version": "1.10.0",
"animation_controllers": {
"controller.animation.example": {
"states": {
2021-03-21 15:18:38 +01:00
"default": { "transitions": [{ "state_1": "query.is_baby" }] },
"state_1": { "animations": ["state_1"], "transitions": [{ "default": "query.all_animations_finished" }] }
2020-11-17 09:56:41 +01:00
}
}
}
}
],
2020-11-01 17:22:42 +01:00
"allOf": [
2021-03-21 15:18:38 +01:00
{ "if": { "properties": { "format_version": { "type": "string", "const": "1.8.0" } } }, "then": { "$ref": "./1.8.0/animation_controller.json" } },
2021-05-18 23:32:44 +02:00
{
"if": { "properties": { "format_version": { "type": "string", "const": "1.10.0" } } },
"then": { "$ref": "./1.10.0/animation_controller.json" }
},
2021-04-06 22:41:46 +02:00
{ "properties": { "format_version": { "$ref": "../../general/format_version.json" } } }
2020-11-01 17:22:42 +01:00
]
}