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" } } },
|
2020-12-12 00:09:25 +01:00
|
|
|
"then": { "$ref": "./1.10.0/items.json" }
|
2020-11-01 17:22:42 +01:00
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"if": { "properties": { "format_version": { "type": "string", "const": "1.10.0" } } },
|
2020-12-12 00:09:25 +01:00
|
|
|
"then": { "$ref": "./1.10.0/items.json" }
|
2020-11-01 17:22:42 +01:00
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"if": { "properties": { "format_version": { "type": "string", "const": "1.14" } } },
|
2020-12-12 00:09:25 +01:00
|
|
|
"then": { "$ref": "./1.14.0/items.json" }
|
2020-11-01 17:22:42 +01:00
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"if": { "properties": { "format_version": { "type": "string", "const": "1.14.0" } } },
|
2020-12-12 00:09:25 +01:00
|
|
|
"then": { "$ref": "./1.14.0/items.json" }
|
2020-11-01 17:22:42 +01:00
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"if": { "properties": { "format_version": { "type": "string", "const": "1.16" } } },
|
2020-12-12 00:09:25 +01:00
|
|
|
"then": { "$ref": "./1.16.0/items.json" }
|
2020-11-01 17:22:42 +01:00
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"if": { "properties": { "format_version": { "type": "string", "const": "1.16.0" } } },
|
2020-12-12 00:09:25 +01:00
|
|
|
"then": { "$ref": "./1.16.0/items.json" }
|
2020-11-01 17:22:42 +01:00
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
}
|