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": [
|
|
|
|
|
{
|
2020-11-17 21:19:54 +01:00
|
|
|
"format_version": "1.12.0",
|
|
|
|
|
"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" }
|
2020-11-01 17:22:42 +01:00
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
}
|