Refactored item
This commit is contained in:
@@ -1,16 +1,11 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.behavior.items",
|
||||
"examples": [{ "format_version": "1.16.200", "minecraft:item": { "description": { "identifier": "namespace:item" }, "components": {} } }],
|
||||
"allOf": [
|
||||
{ "if": { "properties": { "format_version": { "type": "string", "const": "1.10" } } }, "then": { "$ref": "./1.10.0/items.json" } },
|
||||
{ "if": { "properties": { "format_version": { "type": "string", "const": "1.10.0" } } }, "then": { "$ref": "./1.10.0/items.json" } },
|
||||
{ "if": { "properties": { "format_version": { "type": "string", "const": "1.14" } } }, "then": { "$ref": "./1.14.0/items.json" } },
|
||||
{ "if": { "properties": { "format_version": { "type": "string", "const": "1.14.0" } } }, "then": { "$ref": "./1.14.0/items.json" } },
|
||||
{ "if": { "properties": { "format_version": { "type": "string", "const": "1.16" } } }, "then": { "$ref": "./1.16.0/items.json" } },
|
||||
{ "if": { "properties": { "format_version": { "type": "string", "const": "1.16.0" } } }, "then": { "$ref": "./1.16.0/items.json" } },
|
||||
{ "if": { "properties": { "format_version": { "type": "string", "const": "1.16.100" } } }, "then": { "$ref": "./1.16.100/items.json" } },
|
||||
{ "if": { "properties": { "format_version": { "type": "string", "const": "1.16.200" } } }, "then": { "$ref": "./1.16.200/items.json" } },
|
||||
{ "properties": { "format_version": { "$ref": "../../general/format_version.json" } } }
|
||||
]
|
||||
"$id": "blockception.minecraft.behavior.1.16.200.items",
|
||||
"description": "Minecraft items 1.16.200",
|
||||
"required": ["format_version", "minecraft:item"],
|
||||
"title": "Item",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"format_version": { "$ref": "../../general/format_version.json" },
|
||||
"minecraft:item": { "$ref": "./format/minecraft.item.json" }
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user