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

22 lines
832 B
JSON
Raw Normal View History

2020-11-01 17:22:42 +01:00
{
"$schema": "http://json-schema.org/draft-07/schema",
"$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" } },
{ "if": { "properties": { "format_version": { "type": "string", "const": "1.10.0" } } }, "then": { "$ref": "./1.10.0/animation_controller.json" } }
2020-11-01 17:22:42 +01:00
]
}