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

44 lines
1.3 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
{
2020-11-17 21:19:54 +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 09:56:41 +01:00
},
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": [
{
"if": { "properties": { "format_version": { "type": "string", "const": "1.8.0" } } },
2020-12-12 00:09:25 +01:00
"then": { "$ref": "./1.8.0/model_entity.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/model_entity.json" }
2020-11-01 17:22:42 +01:00
},
{
"if": { "properties": { "format_version": { "type": "string", "const": "1.12.0" } } },
2020-12-12 00:09:25 +01:00
"then": { "$ref": "./1.12.0/model_entity.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/model_entity.json" }
2021-03-11 12:06:36 +01:00
},
{
"if": { "properties": { "format_version": { "type": "string", "const": "1.16.0" } } },
"then": { "$ref": "./1.16.0/model_entity.json" }
2020-11-01 17:22:42 +01:00
}
]
}