Updated
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
{
|
||||
"$id": "blockception.minecraft.resource.texture.flipbook",
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"additionalProperties": false,
|
||||
"description": "The file that specifies animated textures",
|
||||
"title": "Flipbook Texture 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" } }
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.resource.texture.terrain_texture",
|
||||
"additionalProperties": false,
|
||||
"type": "object",
|
||||
@@ -8,12 +7,14 @@
|
||||
"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" },
|
||||
"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": {
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"title": "Texture List",
|
||||
"description": "A list of texture to load in",
|
||||
"type": "array",
|
||||
|
||||
Reference in New Issue
Block a user