forked from bernie-g/Minecraft-bedrock-json-schemas
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathanimation_controller.json
32 lines (32 loc) · 930 Bytes
/
animation_controller.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.resource.animation_controller",
"examples": [
{
"format_version": "1.10.0",
"animation_controllers": {
"controller.animation.example": {
"states": {
"default": {
"transitions": [{ "state_1": "query.is_baby" }]
},
"state_1": {
"animations": ["state_1"],
"transitions": [{ "default": "query.all_animations_finished" }]
}
}
}
}
}
],
"allOf": [
{
"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" }
}
]
}