This commit is contained in:
DaanV2
2021-05-26 01:23:51 +02:00
parent 7ea35ef9dd
commit a98fbfbaa8
1023 changed files with 95 additions and 1050 deletions

View File

@@ -1,5 +1,4 @@
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.resource.texture.item_texture",
"additionalProperties": false,
"type": "object",
@@ -8,13 +7,31 @@
"definitions": {
"texture": {
"oneOf": [
{ "description": "A texture file", "type": "string", "pattern": "^textures/.+$" },
{ "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", "format": "color-hex" },
"path": { "description": "A texture file", "type": "string", "pattern": "^textures/.+$" }
"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" }
}
}
}
}
}
]
@@ -36,7 +53,7 @@
"textures": {
"oneOf": [
{ "$ref": "#/definitions/texture" },
{ "description": "A collection of textures", "type": "array", "items": { "$ref": "#/definitions/texture" } }
{ "description": "A collection of textures", "title": "Texture data", "type": "array", "items": { "$ref": "#/definitions/texture" } }
]
}
}