auto: Formatted json files
This commit is contained in:
@@ -1,24 +1,24 @@
|
||||
{
|
||||
"$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" }
|
||||
},
|
||||
{ "properties": { "format_version": { "$ref": "../../general/format_version.json" } } }
|
||||
]
|
||||
}
|
||||
{
|
||||
"$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" }
|
||||
},
|
||||
{ "properties": { "format_version": { "$ref": "../../general/format_version.json" } } }
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user