Updated format_version in examples

This commit is contained in:
DaanV2
2022-06-07 21:34:23 +02:00
parent ae918117b8
commit 8258cb11ab
4 changed files with 14 additions and 20 deletions

View File

@@ -3,7 +3,7 @@
"$id": "blockception.minecraft.behavior.animation_controller",
"examples": [
{
"format_version": "1.17.0",
"format_version": "1.19.0",
"animation_controllers": {
"controller.animation.example": {
"initial_state": "default",

View File

@@ -1,7 +1,7 @@
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behavior.animations",
"examples": [{ "format_version": "1.18.0", "animations": { "animation.example": {} } }],
"examples": [{ "format_version": "1.19.0", "animations": { "animation.example": {} } }],
"definitions": {
"animationspec": {
"anyOf": [

View File

@@ -2,7 +2,7 @@
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "minecraft.behavior.biomes",
"type": "object",
"examples": [{ "plains": { "format_version": "1.17.0" } }],
"examples": [{ "plains": { "format_version": "1.19.0" } }],
"additionalProperties": {
"type": "object",
"title": "Biomes",

View File

@@ -1,20 +1,14 @@
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behavior.blocks",
"examples": [
{
"format_version": "1.16.200",
"minecraft:block": { "description": { "identifier": "namespace:block", "properties": {} }, "components": {}, "events": {} }
}
],
"allOf": [
{ "if": { "properties": { "format_version": { "type": "string", "const": "1.10" } } }, "then": { "$ref": "./1.10.0/blocks.json" } },
{ "if": { "properties": { "format_version": { "type": "string", "const": "1.10.0" } } }, "then": { "$ref": "./1.10.0/blocks.json" } },
{ "if": { "properties": { "format_version": { "type": "string", "const": "1.12.0" } } }, "then": { "$ref": "./1.12.0/blocks.json" } },
{ "if": { "properties": { "format_version": { "type": "string", "const": "1.16.0" } } }, "then": { "$ref": "./1.16.0/blocks.json" } },
{ "if": { "properties": { "format_version": { "type": "string", "const": "1.16.100" } } }, "then": { "$ref": "./1.16.100/blocks.json" } },
{ "if": { "properties": { "format_version": { "type": "string", "const": "1.16.200" } } }, "then": { "$ref": "./1.16.200/blocks.json" } },
{ "if": { "properties": { "format_version": { "type": "string", "const": "1.17.0" } } }, "then": { "$ref": "./1.17.0/blocks.json" } },
{ "properties": { "format_version": { "$ref": "../../general/format_version.json" } } }
]
"$id": "blockception.minecraft.behavior.block",
"$comment": "UNDOCUMENTED",
"required": ["format_version", "minecraft:block"],
"type": "object",
"title": "Block Behavior",
"description": "The minecraft block behavior specification",
"additionalProperties": false,
"properties": {
"format_version": { "$ref": "../../general/format_version.json" },
"minecraft:block": { "$ref": "./format/minecraft.block.json" }
}
}