Files
minecraft-bedrock-json-schemas/behaviour/items/items.json

42 lines
1.2 KiB
JSON
Raw Normal View History

2020-11-01 17:22:42 +01:00
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.items",
2020-11-17 09:56:41 +01:00
"examples": [
{
"format_version": "1.16.0",
"minecraft:item": {
"description": {
"identifier": "namespace:item"
},
2020-11-17 21:19:54 +01:00
"components": {}
2020-11-17 09:56:41 +01:00
}
2020-11-17 21:19:54 +01:00
}
2020-11-17 09:56:41 +01:00
],
2020-11-01 17:22:42 +01:00
"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" }
}
]
}