40 lines
1.1 KiB
JSON
40 lines
1.1 KiB
JSON
{
|
|
"$schema": "http://json-schema.org/draft-07/schema",
|
|
"$id": "blockception.minecraft.resource.model",
|
|
"examples": [
|
|
{
|
|
"format_version": "1.12.0",
|
|
"minecraft:geometry": [
|
|
{
|
|
"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
|
|
},
|
|
"bones": {}
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"allOf": [
|
|
{
|
|
"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" }
|
|
}
|
|
]
|
|
}
|