2020-11-01 17:22:42 +01:00
|
|
|
{
|
2021-04-04 13:52:35 +02:00
|
|
|
"$id": "blockception.minecraft.behavior.animation_controller",
|
2020-11-17 08:53:18 +01:00
|
|
|
"examples": [
|
|
|
|
|
{
|
|
|
|
|
"format_version": "1.10.0",
|
|
|
|
|
"animation_controllers": {
|
2021-04-06 22:41:46 +02:00
|
|
|
"controller.animation.example": {
|
|
|
|
|
"initial_state": "default",
|
|
|
|
|
"states": { "default": { "transitions": [{ "state_1": "query.is_baby" }] }, "state_1": {} }
|
|
|
|
|
}
|
2020-11-17 08:53:18 +01:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
],
|
2020-11-01 17:22:42 +01:00
|
|
|
"allOf": [
|
2021-05-26 01:23:51 +02: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
|
|
|
]
|
|
|
|
|
}
|