Updated format_version in examples
This commit is contained in:
@@ -3,7 +3,7 @@
|
|||||||
"$id": "blockception.minecraft.behavior.animation_controller",
|
"$id": "blockception.minecraft.behavior.animation_controller",
|
||||||
"examples": [
|
"examples": [
|
||||||
{
|
{
|
||||||
"format_version": "1.17.0",
|
"format_version": "1.19.0",
|
||||||
"animation_controllers": {
|
"animation_controllers": {
|
||||||
"controller.animation.example": {
|
"controller.animation.example": {
|
||||||
"initial_state": "default",
|
"initial_state": "default",
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"$schema": "http://json-schema.org/draft-07/schema",
|
"$schema": "http://json-schema.org/draft-07/schema",
|
||||||
"$id": "blockception.minecraft.behavior.animations",
|
"$id": "blockception.minecraft.behavior.animations",
|
||||||
"examples": [{ "format_version": "1.18.0", "animations": { "animation.example": {} } }],
|
"examples": [{ "format_version": "1.19.0", "animations": { "animation.example": {} } }],
|
||||||
"definitions": {
|
"definitions": {
|
||||||
"animationspec": {
|
"animationspec": {
|
||||||
"anyOf": [
|
"anyOf": [
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
"$schema": "http://json-schema.org/draft-07/schema",
|
"$schema": "http://json-schema.org/draft-07/schema",
|
||||||
"$id": "minecraft.behavior.biomes",
|
"$id": "minecraft.behavior.biomes",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"examples": [{ "plains": { "format_version": "1.17.0" } }],
|
"examples": [{ "plains": { "format_version": "1.19.0" } }],
|
||||||
"additionalProperties": {
|
"additionalProperties": {
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"title": "Biomes",
|
"title": "Biomes",
|
||||||
|
|||||||
@@ -1,20 +1,14 @@
|
|||||||
{
|
{
|
||||||
"$schema": "http://json-schema.org/draft-07/schema",
|
"$schema": "http://json-schema.org/draft-07/schema",
|
||||||
"$id": "blockception.minecraft.behavior.blocks",
|
"$id": "blockception.minecraft.behavior.block",
|
||||||
"examples": [
|
"$comment": "UNDOCUMENTED",
|
||||||
{
|
"required": ["format_version", "minecraft:block"],
|
||||||
"format_version": "1.16.200",
|
"type": "object",
|
||||||
"minecraft:block": { "description": { "identifier": "namespace:block", "properties": {} }, "components": {}, "events": {} }
|
"title": "Block Behavior",
|
||||||
}
|
"description": "The minecraft block behavior specification",
|
||||||
],
|
"additionalProperties": false,
|
||||||
"allOf": [
|
"properties": {
|
||||||
{ "if": { "properties": { "format_version": { "type": "string", "const": "1.10" } } }, "then": { "$ref": "./1.10.0/blocks.json" } },
|
"format_version": { "$ref": "../../general/format_version.json" },
|
||||||
{ "if": { "properties": { "format_version": { "type": "string", "const": "1.10.0" } } }, "then": { "$ref": "./1.10.0/blocks.json" } },
|
"minecraft:block": { "$ref": "./format/minecraft.block.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" } } }
|
|
||||||
]
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user