Initial Commit
This commit is contained in:
76
resource/textures/item_texture.json
Normal file
76
resource/textures/item_texture.json
Normal file
@@ -0,0 +1,76 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.resource.texture.item_texture",
|
||||
"additionalProperties": false,
|
||||
"type": "object",
|
||||
"title": "The minecraft item texture file",
|
||||
"description": "",
|
||||
"definitions": {
|
||||
"texture": {
|
||||
"oneOf": [
|
||||
{
|
||||
"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/.+$"
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"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",
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/definitions/texture"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"texture_name": {
|
||||
"title": "Texture name",
|
||||
"description": "TODO: add description",
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user