This commit is contained in:
DaanV2
2021-03-21 15:18:38 +01:00
parent d3298267bc
commit 698ee42623
960 changed files with 5960 additions and 22946 deletions

View File

@@ -3,59 +3,26 @@
"$id": "blockception.minecraft.resource.texture.flipbook",
"additionalProperties": false,
"type": "array",
"title": "The minecraft flipbook texture file",
"title": "Flipbook Texture File",
"description": "",
"items": {
"additionalProperties": false,
"type": "object",
"description": "A single flipbook texture",
"title": "Flipbook texture",
"title": "Flipbook Texture",
"properties": {
"atlas_index": {
"type": "integer",
"title": "Atlas index",
"description": "TODO: add description"
},
"atlas_tile": {
"type": "string",
"pattern": "^[a-z0-9_\\-]*$",
"title": "Atlas index",
"description": "TODO: add description"
},
"atlas_tile_variant": {
"type": "integer",
"title": "Atlas index",
"description": "TODO: add description"
},
"blend_frames": {
"type": "boolean",
"title": "Atlas index",
"description": "TODO: add description"
},
"flipbook_texture": {
"description": "A texture file",
"type": "string",
"pattern": "^textures/.+$"
},
"atlas_index": { "type": "integer", "title": "Atlas Index", "description": "TODO: add description" },
"atlas_tile": { "type": "string", "pattern": "^[a-z0-9_\\-]*$", "title": "Atlas Index", "description": "TODO: add description" },
"atlas_tile_variant": { "type": "integer", "title": "Atlas Index", "description": "TODO: add description" },
"blend_frames": { "type": "boolean", "title": "Atlas Index", "description": "TODO: add description" },
"flipbook_texture": { "description": "A texture file", "type": "string", "pattern": "^textures/.+$" },
"frames": {
"description": "The collection of frame index to display",
"type": "array",
"items": {
"description": "The index of the frame",
"type": "integer",
"title": "Frame index",
"minimum": 0
}
"items": { "description": "The index of the frame", "type": "integer", "title": "Frame Index", "minimum": 0 }
},
"replicate": {
"type": "integer",
"title": "Atlas index",
"description": "TODO: add description"
},
"ticks_per_frame": {
"description": "The amount of ticks to wait between frames",
"type": "integer"
}
"replicate": { "type": "integer", "title": "Atlas Index", "description": "TODO: add description" },
"ticks_per_frame": { "description": "The amount of ticks to wait between frames", "type": "integer" }
}
}
}

View File

@@ -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" }
}
}

View File

@@ -3,36 +3,19 @@
"$id": "blockception.minecraft.resource.texture.terrain_texture",
"additionalProperties": false,
"type": "object",
"title": "The minecraft terrain texture file",
"title": "Terrain 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/.+$",
"title": "Path"
},
"tint_color": {
"title": "Tint color",
"description": "TODO",
"format": "color-hex",
"type": "string"
},
"overlay_color": { "description": "The color to apply to the texture", "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",
@@ -43,17 +26,8 @@
"description": "TODO",
"required": ["path"],
"properties": {
"path": {
"description": "A texture file",
"type": "string",
"pattern": "^textures/.+$",
"title": "Path"
},
"weight": {
"type": "integer",
"title": "Weight",
"description": "TODO"
}
"path": { "description": "A texture file", "type": "string", "pattern": "^textures/.+$", "title": "Path" },
"weight": { "type": "integer", "title": "Weight", "description": "TODO" }
}
}
}
@@ -63,51 +37,21 @@
}
},
"properties": {
"num_mip_levels": {
"type": "integer",
"title": "Num mip levels",
"description": "TODO: add description"
},
"padding": {
"type": "integer",
"title": "Padding",
"description": "TODO: add description"
},
"resource_pack_name": {
"type": "string",
"title": "Resource pack name",
"description": "TODO: add description"
},
"num_mip_levels": { "type": "integer", "title": "Num Mip Levels", "description": "TODO: add description" },
"padding": { "type": "integer", "title": "Padding", "description": "TODO: add description" },
"resource_pack_name": { "type": "string", "title": "Resource Pack Name", "description": "TODO: add description" },
"texture_data": {
"type": "object",
"propertyNames": {
"pattern": "^[\\w_\\-\\.]+$"
},
"propertyNames": { "pattern": "^[\\w_\\-\\.]+$" },
"additionalProperties": {
"type": "object",
"title": "Texture data",
"title": "Texture Data",
"description": "TODO: add description",
"properties": {
"textures": {
"oneOf": [
{ "$ref": "#/definitions/texture" },
{
"type": "array",
"items": {
"$ref": "#/definitions/texture"
}
}
]
}
}
"properties": { "textures": { "oneOf": [{ "$ref": "#/definitions/texture" }, { "type": "array", "items": { "$ref": "#/definitions/texture" } }] } }
},
"description": "TODO description",
"title": "TODO title"
"title": "TODO Title"
},
"texture_name": {
"type": "string",
"description": "TODO description",
"title": "TODO title"
}
"texture_name": { "type": "string", "description": "TODO description", "title": "TODO Title" }
}
}

View File

@@ -1,12 +1,7 @@
{
"$schema": "http://json-schema.org/draft-07/schema",
"title": "Texture list",
"title": "Texture List",
"description": "A list of texture to load in",
"type": "array",
"items": {
"title": "Filepath",
"type": "string",
"pattern": "^textures/",
"examples": ["textures/blocks/"]
}
"items": { "title": "Filepath", "type": "string", "pattern": "^textures/", "examples": ["textures/blocks/"] }
}