Files
minecraft-bedrock-json-schemas/source/resource/textures/terrain_texture.json

60 lines
2.4 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.texture.terrain_texture",
"additionalProperties": false,
"type": "object",
2021-03-21 15:18:38 +01:00
"title": "Terrain Texture File",
2020-11-01 17:22:42 +01:00
"description": "",
"definitions": {
"texture": {
"oneOf": [
2021-03-21 15:18:38 +01:00
{ "description": "A texture file", "type": "string", "pattern": "^textures/.+$" },
2020-11-01 17:22:42 +01:00
{
"type": "object",
"additionalProperties": false,
"properties": {
2021-03-21 15:18:38 +01:00
"overlay_color": { "description": "The color to apply to the texture", "format": "color-hex" },
"path": { "description": "A texture file", "type": "string", "pattern": "^textures/.+$", "title": "Path" },
"tint_color": { "title": "Tint Color", "description": "TODO", "format": "color-hex", "type": "string" },
2020-11-01 17:22:42 +01:00
"variations": {
"type": "array",
"title": "Variantions",
"description": "TODO",
"items": {
"type": "object",
"title": "Variantion",
"description": "TODO",
"required": ["path"],
"properties": {
2021-03-21 15:18:38 +01:00
"path": { "description": "A texture file", "type": "string", "pattern": "^textures/.+$", "title": "Path" },
"weight": { "type": "integer", "title": "Weight", "description": "TODO" }
2020-11-01 17:22:42 +01:00
}
}
}
}
}
]
}
},
"properties": {
2021-03-21 15:18:38 +01:00
"num_mip_levels": { "type": "integer", "title": "Num Mip Levels", "description": "TODO: add description" },
"padding": { "type": "integer", "title": "Padding", "description": "TODO: add description" },
"resource_pack_name": { "type": "string", "title": "Resource Pack Name", "description": "TODO: add description" },
2020-11-01 17:22:42 +01:00
"texture_data": {
"type": "object",
2021-03-21 15:18:38 +01:00
"propertyNames": { "pattern": "^[\\w_\\-\\.]+$" },
2020-11-01 17:22:42 +01:00
"additionalProperties": {
"type": "object",
2021-03-21 15:18:38 +01:00
"title": "Texture Data",
2020-11-01 17:22:42 +01:00
"description": "TODO: add description",
2021-05-18 23:32:44 +02:00
"properties": {
"textures": { "oneOf": [{ "$ref": "#/definitions/texture" }, { "type": "array", "items": { "$ref": "#/definitions/texture" } }] }
}
2020-11-01 17:22:42 +01:00
},
"description": "TODO description",
2021-03-21 15:18:38 +01:00
"title": "TODO Title"
2020-11-01 17:22:42 +01:00
},
2021-03-21 15:18:38 +01:00
"texture_name": { "type": "string", "description": "TODO description", "title": "TODO Title" }
2020-11-01 17:22:42 +01:00
}
}