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

49 lines
1.8 KiB
JSON
Raw Normal View History

2021-06-06 10:07:19 +00:00
{
2021-11-20 11:26:35 +01:00
"$schema": "http://json-schema.org/draft-07/schema",
2021-06-06 10:07:19 +00:00
"$id": "blockception.minecraft.resource.attachables",
2024-04-29 20:24:55 +07:00
"defaultSnippets": [
{
"label": "New attachable",
"body": {
"format_version": "${1:1.10.0}",
"minecraft:attachable": {
"description": {
"identifier": "$2:${3:${TM_FILENAME/[\\.].*//}}",
"materials": {
"default": "entity_alphatest"
},
"textures": {
"default": "textures/items/${3:${TM_FILENAME/[\\.].*//}}"
},
"geometry": {
"default": "geometry.${3:${TM_FILENAME/[\\.].*//}}"
},
"render_controllers": ["controller.render.default"]
}
}
}
}
],
2021-06-06 10:07:19 +00:00
"examples": [
{
2023-11-28 19:49:09 +01:00
"format_version": "1.20.41",
2021-06-06 10:07:19 +00:00
"minecraft:attachable": {
"description": {
"identifier": "minecraft:item",
"materials": { "default": "entity_alphatest", "enchanted": "entity_alphatest_glint" },
"textures": { "default": "textures/items/item" },
"geometry": { "default": "geometry.item" },
"scripts": {},
"render_controllers": ["controller.render.item"]
}
}
}
],
"allOf": [
{ "if": { "properties": { "format_version": { "type": "string", "const": "1.8.0" } } }, "then": { "$ref": "./1.8.0/attachables.json" } },
{ "if": { "properties": { "format_version": { "type": "string", "const": "1.10" } } }, "then": { "$ref": "./1.10.0/attachables.json" } },
{ "if": { "properties": { "format_version": { "type": "string", "const": "1.10.0" } } }, "then": { "$ref": "./1.10.0/attachables.json" } },
{ "properties": { "format_version": { "$ref": "../../general/format_version.json" } } }
]
}