Files
minecraft-bedrock-json-schemas/source/resource/models/entity/model_entity.json

24 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.resource.model",
2020-11-17 09:56:41 +01:00
"examples": [
{
2021-03-11 12:06:36 +01:00
"format_version": "1.16.0",
2020-11-17 21:19:54 +01:00
"minecraft:geometry": [
2020-11-17 09:56:41 +01:00
{
2021-03-21 15:18:38 +01:00
"description": { "identifier": "geometry.entity", "texture_width": 64.0, "texture_height": 64.0, "visible_bounds_offset": [0.0, 0.5, 0.0], "visible_bounds_width": 1.5 },
2020-11-17 21:19:54 +01:00
"bones": {}
2020-11-17 09:56:41 +01:00
}
]
}
],
2020-11-01 17:22:42 +01:00
"allOf": [
2021-03-21 15:18:38 +01:00
{ "if": { "properties": { "format_version": { "type": "string", "const": "1.8.0" } } }, "then": { "$ref": "./1.8.0/model_entity.json" } },
{ "if": { "properties": { "format_version": { "type": "string", "const": "1.10.0" } } }, "then": { "$ref": "./1.10.0/model_entity.json" } },
{ "if": { "properties": { "format_version": { "type": "string", "const": "1.12.0" } } }, "then": { "$ref": "./1.12.0/model_entity.json" } },
{ "if": { "properties": { "format_version": { "type": "string", "const": "1.14.0" } } }, "then": { "$ref": "./1.14.0/model_entity.json" } },
2021-04-06 22:41:46 +02:00
{ "if": { "properties": { "format_version": { "type": "string", "const": "1.16.0" } } }, "then": { "$ref": "./1.16.0/model_entity.json" } },
2021-04-06 22:45:08 +02:00
{ "properties": { "format_version": { "$ref": "../../../general/format_version.json" } } }
2020-11-01 17:22:42 +01:00
]
}