2021-06-06 10:07:19 +00:00
|
|
|
{
|
2021-11-20 11:26:35 +01:00
|
|
|
"$schema": "http://json-schema.org/draft-07/schema",
|
2021-06-06 10:07:19 +00:00
|
|
|
"$id": "blockception.minecraft.resource.texture.item_texture",
|
|
|
|
|
"additionalProperties": false,
|
|
|
|
|
"type": "object",
|
|
|
|
|
"title": "Item Texture File",
|
2021-06-16 16:19:12 +02:00
|
|
|
"description": "UNDOCUMENTED",
|
2021-07-01 11:35:53 +02:00
|
|
|
"$comment": "UNDOCUMENTED",
|
2021-06-06 10:07:19 +00:00
|
|
|
"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": {
|
2021-08-22 00:15:58 +02:00
|
|
|
"overlay_color": {
|
|
|
|
|
"description": "The color to apply to the texture",
|
|
|
|
|
"title": "Overlay Color",
|
|
|
|
|
"format": "color-hex",
|
|
|
|
|
"examples": ["#FFFFFF"]
|
|
|
|
|
},
|
2021-06-06 10:07:19 +00:00
|
|
|
"path": { "description": "A texture file", "type": "string", "pattern": "^textures/.+$", "title": "Path" },
|
2021-07-01 11:35:53 +02:00
|
|
|
"tint_color": {
|
|
|
|
|
"title": "Tint Color",
|
|
|
|
|
"description": "UNDOCUMENTED",
|
|
|
|
|
"$comment": "UNDOCUMENTED",
|
|
|
|
|
"format": "color-hex",
|
2021-08-22 00:15:58 +02:00
|
|
|
"examples": ["#FFFFFF"],
|
2021-07-01 11:35:53 +02:00
|
|
|
"type": "string"
|
|
|
|
|
},
|
2021-06-06 10:07:19 +00:00
|
|
|
"variations": {
|
|
|
|
|
"type": "array",
|
|
|
|
|
"title": "Variantions",
|
2021-06-16 16:19:12 +02:00
|
|
|
"description": "UNDOCUMENTED",
|
2021-07-01 11:35:53 +02:00
|
|
|
"$comment": "UNDOCUMENTED",
|
2021-06-06 10:07:19 +00:00
|
|
|
"items": {
|
|
|
|
|
"type": "object",
|
|
|
|
|
"title": "Variantion",
|
2021-06-16 16:19:12 +02:00
|
|
|
"description": "UNDOCUMENTED",
|
2021-07-01 11:35:53 +02:00
|
|
|
"$comment": "UNDOCUMENTED",
|
2021-06-06 10:07:19 +00:00
|
|
|
"required": ["path"],
|
|
|
|
|
"properties": {
|
|
|
|
|
"path": { "description": "A texture file", "type": "string", "pattern": "^textures/.+$", "title": "Path" },
|
2021-07-01 16:37:41 +02:00
|
|
|
"weight": {
|
|
|
|
|
"type": "integer",
|
|
|
|
|
"title": "Weight",
|
|
|
|
|
"description": "UNDOCUMENTED",
|
|
|
|
|
"$comment": "UNDOCUMENTED"
|
|
|
|
|
}
|
2021-06-06 10:07:19 +00:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
"properties": {
|
2021-07-01 16:37:41 +02:00
|
|
|
"resource_pack_name": {
|
|
|
|
|
"type": "string",
|
|
|
|
|
"title": "Resource Pack Name",
|
|
|
|
|
"description": "UNDOCUMENTED",
|
|
|
|
|
"$comment": "UNDOCUMENTED"
|
|
|
|
|
},
|
2021-06-06 10:07:19 +00:00
|
|
|
"texture_data": {
|
|
|
|
|
"title": "Texture Data",
|
2021-06-16 16:19:12 +02:00
|
|
|
"description": "UNDOCUMENTED",
|
2021-07-01 11:35:53 +02:00
|
|
|
"$comment": "UNDOCUMENTED",
|
2021-06-06 10:07:19 +00:00
|
|
|
"type": "object",
|
|
|
|
|
"propertyNames": { "pattern": "^[\\w_\\-\\.]+$" },
|
|
|
|
|
"additionalProperties": {
|
|
|
|
|
"title": "Texture Data",
|
2021-06-16 16:19:12 +02:00
|
|
|
"description": "UNDOCUMENTED",
|
2021-07-01 11:35:53 +02:00
|
|
|
"$comment": "UNDOCUMENTED",
|
2021-06-06 10:07:19 +00:00
|
|
|
"type": "object",
|
|
|
|
|
"additionalProperties": false,
|
|
|
|
|
"properties": {
|
|
|
|
|
"textures": {
|
|
|
|
|
"oneOf": [
|
|
|
|
|
{ "$ref": "#/definitions/texture" },
|
|
|
|
|
{ "description": "A collection of textures", "title": "Texture Data", "type": "array", "items": { "$ref": "#/definitions/texture" } }
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
},
|
2021-07-01 16:37:41 +02:00
|
|
|
"texture_name": { "title": "Texture Name", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "type": "string" }
|
2021-06-06 10:07:19 +00:00
|
|
|
}
|
|
|
|
|
}
|