65 lines
2.4 KiB
JSON
65 lines
2.4 KiB
JSON
{
|
|
"$id": "blockception.minecraft.resource.texture.item_texture",
|
|
"additionalProperties": false,
|
|
"type": "object",
|
|
"title": "Item Texture File",
|
|
"description": "",
|
|
"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": "TODO", "format": "color-hex", "type": "string" },
|
|
"variations": {
|
|
"type": "array",
|
|
"title": "Variantions",
|
|
"description": "TODO",
|
|
"items": {
|
|
"type": "object",
|
|
"title": "Variantion",
|
|
"description": "TODO",
|
|
"required": ["path"],
|
|
"properties": {
|
|
"path": { "description": "A texture file", "type": "string", "pattern": "^textures/.+$", "title": "Path" },
|
|
"weight": { "type": "integer", "title": "Weight", "description": "TODO" }
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"properties": {
|
|
"resource_pack_name": { "type": "string", "title": "Resource Pack Name", "description": "TODO: add description" },
|
|
"texture_data": {
|
|
"title": "Texture Data",
|
|
"description": "TODO: add description",
|
|
"type": "object",
|
|
"propertyNames": { "pattern": "^[\\w_\\-\\.]+$" },
|
|
"additionalProperties": {
|
|
"title": "Texture Data",
|
|
"description": "TODO: add description",
|
|
"type": "object",
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"textures": {
|
|
"oneOf": [
|
|
{ "$ref": "#/definitions/texture" },
|
|
{ "description": "A collection of textures", "title": "Texture data", "type": "array", "items": { "$ref": "#/definitions/texture" } }
|
|
]
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"texture_name": { "title": "Texture Name", "description": "TODO: add description", "type": "string" }
|
|
}
|
|
}
|