Files
minecraft-bedrock-json-schemas/source/resource/attachables/attachables.json

41 lines
1.1 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.resource.attachables",
2020-11-17 09:56:41 +01:00
"examples": [
{
"format_version": "1.10.0",
"minecraft:attachable": {
"description": {
"identifier": "minecraft:item",
"materials": {
"default": "entity_alphatest",
"enchanted": "entity_alphatest_glint"
},
"textures": {
"default": "textures/items/item"
},
"geometry": {
"default": "geometry.item"
},
2020-11-17 21:19:54 +01:00
"scripts": {},
"render_controllers": ["controller.render.item"]
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.8.0" } } },
2020-12-12 00:09:25 +01:00
"then": { "$ref": "./1.8.0/attachables.json" }
2020-11-01 17:22:42 +01:00
},
{
"if": { "properties": { "format_version": { "type": "string", "const": "1.10" } } },
2020-12-12 00:09:25 +01:00
"then": { "$ref": "./1.10.0/attachables.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/attachables.json" }
2020-11-01 17:22:42 +01:00
}
]
}