Flatenned

This commit is contained in:
DaanV2
2021-10-08 12:57:16 +02:00
parent f3e1ffaf2f
commit 1858e622c6
3 changed files with 12 additions and 35 deletions

View File

@@ -1,17 +0,0 @@
{
"$id": "blockception.minecraft.behavior.entity.1.17.0",
"type": "object",
"title": "Entity Behavior 1.17.0",
"description": "The minecraft entity behavior specification",
"required": ["format_version", "minecraft:entity"],
"additionalProperties": false,
"properties": {
"format_version": {
"title": "1.17.0 Format Version",
"description": "A version that tells minecraft what type of data format can be expected when reading this file.",
"type": "string",
"const": "1.17.0"
},
"minecraft:entity": { "$ref": "./minecraft.entity.json" }
}
}

View File

@@ -16,9 +16,10 @@
"description": "Sets the mapping of internal animation / animation controllers references to actual animations. This is a JSON Object of name/animation pairs",
"type": "object",
"additionalProperties": {
"title": "Animation (controller)",
"title": "Animation / Controller",
"description": "The name of the animation controller / animation",
"type": "string"
"type": "string",
"examples": ["animation.", "controller."]
}
},
"identifier": {

View File

@@ -1,6 +1,5 @@
{
"$id": "blockception.minecraft.behavior.entities",
"required": ["format_version"],
"examples": [
{
"format_version": "1.16.0",
@@ -12,19 +11,13 @@
}
}
],
"allOf": [
{ "if": { "properties": { "format_version": { "type": "string", "const": "1.8.0" } } }, "then": { "$ref": "./1.8.0/entities.json" } },
{ "if": { "properties": { "format_version": { "type": "string", "const": "1.10.0" } } }, "then": { "$ref": "./1.10.0/entities.json" } },
{ "if": { "properties": { "format_version": { "type": "string", "const": "1.11.0" } } }, "then": { "$ref": "./1.11.0/entities.json" } },
{ "if": { "properties": { "format_version": { "type": "string", "const": "1.12.0" } } }, "then": { "$ref": "./1.12.0/entities.json" } },
{ "if": { "properties": { "format_version": { "type": "string", "const": "1.13.0" } } }, "then": { "$ref": "./1.13.0/entities.json" } },
{ "if": { "properties": { "format_version": { "type": "string", "const": "1.14.0" } } }, "then": { "$ref": "./1.14.0/entities.json" } },
{ "if": { "properties": { "format_version": { "type": "string", "const": "1.16.0" } } }, "then": { "$ref": "./1.16.0/entities.json" } },
{ "if": { "properties": { "format_version": { "type": "string", "const": "1.16.100" } } }, "then": { "$ref": "./1.16.100/entities.json" } },
{ "if": { "properties": { "format_version": { "type": "string", "const": "1.17.0" } } }, "then": { "$ref": "./1.17.0/entities.json" } },
{ "if": { "properties": { "format_version": { "type": "string", "const": "1.17.10" } } }, "then": { "$ref": "./1.17.0/entities.json" } },
{ "if": { "properties": { "format_version": { "type": "string", "const": "1.17.20" } } }, "then": { "$ref": "./1.17.0/entities.json" } },
{ "if": { "properties": { "format_version": { "type": "string", "const": "1.17.30" } } }, "then": { "$ref": "./1.17.0/entities.json" } },
{ "properties": { "format_version": { "$ref": "../../general/format_version.json" } } }
]
"type": "object",
"title": "Entity Behavior 1.17.0",
"description": "The minecraft entity behavior specification",
"required": ["format_version", "minecraft:entity"],
"additionalProperties": false,
"properties": {
"format_version": { "$ref": "../../general/format_version.json" },
"minecraft:entity": { "$ref": "./minecraft.entity.json" }
}
}