Updated
This commit is contained in:
@@ -3,74 +3,42 @@
|
||||
"$id": "blockception.minecraft.resource.texture.item_texture",
|
||||
"additionalProperties": false,
|
||||
"type": "object",
|
||||
"title": "The minecraft item texture file",
|
||||
"title": "Item Texture File",
|
||||
"description": "",
|
||||
"definitions": {
|
||||
"texture": {
|
||||
"oneOf": [
|
||||
{
|
||||
"description": "A texture file",
|
||||
"type": "string",
|
||||
"pattern": "^textures/.+$"
|
||||
},
|
||||
{ "description": "A texture file", "type": "string", "pattern": "^textures/.+$" },
|
||||
{
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"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", "format": "color-hex" },
|
||||
"path": { "description": "A texture file", "type": "string", "pattern": "^textures/.+$" }
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"properties": {
|
||||
"resource_pack_name": {
|
||||
"type": "string",
|
||||
"title": "Resource pack name",
|
||||
"description": "TODO: add description"
|
||||
},
|
||||
"resource_pack_name": { "type": "string", "title": "Resource Pack Name", "description": "TODO: add description" },
|
||||
"texture_data": {
|
||||
"title": "Texture data",
|
||||
"title": "Texture Data",
|
||||
"description": "TODO: add description",
|
||||
"type": "object",
|
||||
"propertyNames": {
|
||||
"pattern": "^[\\w_\\-\\.]+$"
|
||||
},
|
||||
"propertyNames": { "pattern": "^[\\w_\\-\\.]+$" },
|
||||
"additionalProperties": {
|
||||
"title": "Texture data",
|
||||
"title": "Texture Data",
|
||||
"description": "TODO: add description",
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"textures": {
|
||||
"oneOf": [
|
||||
{
|
||||
"$ref": "#/definitions/texture"
|
||||
},
|
||||
{
|
||||
"description": "A collection of textures",
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/definitions/texture"
|
||||
}
|
||||
}
|
||||
]
|
||||
"oneOf": [{ "$ref": "#/definitions/texture" }, { "description": "A collection of textures", "type": "array", "items": { "$ref": "#/definitions/texture" } }]
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"texture_name": {
|
||||
"title": "Texture name",
|
||||
"description": "TODO: add description",
|
||||
"type": "string"
|
||||
}
|
||||
"texture_name": { "title": "Texture Name", "description": "TODO: add description", "type": "string" }
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user