auto: Formatted json files

This commit is contained in:
DaanV2
2021-04-11 13:08:43 +02:00
parent 6b2043f398
commit 07df25cdaa
37 changed files with 30202 additions and 40 deletions

View File

@@ -1 +1,29 @@
{"$schema":"http://json-schema.org/draft-07/schema","$id":"blockception.minecraft.resource.texture.flipbook","additionalProperties":false,"type":"array","title":"Flipbook Texture File","description":"","items":{"additionalProperties":false,"type":"object","description":"A single 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/.+$"},"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}},"replicate":{"type":"integer","title":"Atlas Index","description":"TODO: add description"},"ticks_per_frame":{"description":"The amount of ticks to wait between frames","type":"integer"}}},"definitions":{}}
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.resource.texture.flipbook",
"additionalProperties": false,
"type": "array",
"title": "Flipbook Texture File",
"description": "",
"items": {
"additionalProperties": false,
"type": "object",
"description": "A single 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/.+$" },
"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 }
},
"replicate": { "type": "integer", "title": "Atlas Index", "description": "TODO: add description" },
"ticks_per_frame": { "description": "The amount of ticks to wait between frames", "type": "integer" }
}
},
"definitions": {}
}

View File

@@ -1 +1,44 @@
{"$schema":"http://json-schema.org/draft-07/schema","$id":"blockception.minecraft.resource.texture.item_texture","additionalProperties":false,"type":"object","title":"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"}}}
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.resource.texture.item_texture",
"additionalProperties": false,
"type": "object",
"title": "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" }
}
}

View File

@@ -1 +1,57 @@
{"$schema":"http://json-schema.org/draft-07/schema","$id":"blockception.minecraft.resource.texture.terrain_texture","additionalProperties":false,"type":"object","title":"Terrain 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/.+$","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"}}}}}}]}},"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"},"texture_data":{"type":"object","propertyNames":{"pattern":"^[\\w_\\-\\.]+$"},"additionalProperties":{"type":"object","title":"Texture Data","description":"TODO: add description","properties":{"textures":{"oneOf":[{"$ref":"#/definitions/texture"},{"type":"array","items":{"$ref":"#/definitions/texture"}}]}}},"description":"TODO description","title":"TODO Title"},"texture_name":{"type":"string","description":"TODO description","title":"TODO Title"}}}
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.resource.texture.terrain_texture",
"additionalProperties": false,
"type": "object",
"title": "Terrain 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/.+$", "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" }
}
}
}
}
}
]
}
},
"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" },
"texture_data": {
"type": "object",
"propertyNames": { "pattern": "^[\\w_\\-\\.]+$" },
"additionalProperties": {
"type": "object",
"title": "Texture Data",
"description": "TODO: add description",
"properties": { "textures": { "oneOf": [{ "$ref": "#/definitions/texture" }, { "type": "array", "items": { "$ref": "#/definitions/texture" } }] } }
},
"description": "TODO description",
"title": "TODO Title"
},
"texture_name": { "type": "string", "description": "TODO description", "title": "TODO Title" }
}
}

View File

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