Files
minecraft-bedrock-json-schemas/source/resource/textures/terrain_texture.json
2021-07-01 16:37:41 +02:00

72 lines
2.9 KiB
JSON

{
"$id": "blockception.minecraft.resource.texture.terrain_texture",
"additionalProperties": false,
"type": "object",
"title": "Terrain Texture File",
"description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"definitions": {
"texture": {
"oneOf": [
{ "description": "A texture file", "type": "string", "pattern": "^textures/.+$", "title": "Texture" },
{
"type": "object",
"additionalProperties": false,
"description": "A collection of texture files",
"title": "Texture",
"properties": {
"overlay_color": { "description": "The color to apply to the texture", "title": "overlay_color", "format": "color-hex" },
"path": { "description": "A texture file", "type": "string", "pattern": "^textures/.+$", "title": "Path" },
"tint_color": {
"title": "Tint Color",
"description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"format": "color-hex",
"type": "string"
},
"variations": {
"type": "array",
"title": "Variantions",
"description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"items": {
"type": "object",
"title": "Variantion",
"description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"required": ["path"],
"properties": {
"path": { "description": "A texture file", "type": "string", "pattern": "^textures/.+$", "title": "Path" },
"weight": { "type": "integer", "title": "Weight", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED" }
}
}
}
}
}
]
}
},
"properties": {
"num_mip_levels": { "type": "integer", "title": "Num Mip Levels", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED" },
"padding": { "type": "integer", "title": "Padding", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED" },
"resource_pack_name": { "type": "string", "title": "Resource Pack Name", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED" },
"texture_data": {
"type": "object",
"propertyNames": { "pattern": "^[\\w_\\-\\.]+$" },
"additionalProperties": {
"type": "object",
"title": "Texture Data",
"description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"properties": {
"textures": { "oneOf": [{ "$ref": "#/definitions/texture" }, { "type": "array", "items": { "$ref": "#/definitions/texture" } }] }
}
},
"description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"title": "Texture Data"
},
"texture_name": { "type": "string", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "title": "Texture Name" }
}
}