auto: Formatted json files

This commit is contained in:
DaanV2
2021-02-02 13:37:58 +01:00
parent 3c9c20e188
commit c90101f35b
34 changed files with 32770 additions and 34 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -1 +1,40 @@
{"$schema":"http://json-schema.org/draft-07/schema","$id":"blockception.minecraft.world_x_packs","type":"array","title":"The minecraft world x pack schema","description":"TODO description","examples":[[{"pack_id":"UUID","version":[1,0,0]}]],"definitions":{"uuidv4":{"$ref":"#/definitions/A"},"version":{"$ref":"#/definitions/B"},"A":{"type":"string","title":"A UUID V4","description":"A valid uuid v4","pattern":"^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$","format":"uuid"},"B":{"type":"array","title":"Version numbering","description":"A version made of 3 numbers","minItems":3,"maxItems":3,"items":[{"type":"number","minimum":1},{"type":"number","minimum":0},{"type":"number","minimum":0}]}},"items":{"type":"object","properties":{"pack_id":{"description":"The uuid of the pack to include","$ref":"#/definitions/uuidv4","title":"Pack Id"},"version":{"description":"The version of the pack","$ref":"#/definitions/version","title":"Version"}},"description":"TODO description: items","title":"Items"}} {
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.world_x_packs",
"type": "array",
"title": "The minecraft world x pack schema",
"description": "TODO description",
"examples": [[{ "pack_id": "UUID", "version": [1, 0, 0] }]],
"definitions": {
"uuidv4": { "$ref": "#/definitions/A" },
"version": { "$ref": "#/definitions/B" },
"A": {
"type": "string",
"title": "A UUID V4",
"description": "A valid uuid v4",
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$",
"format": "uuid"
},
"B": {
"type": "array",
"title": "Version numbering",
"description": "A version made of 3 numbers",
"minItems": 3,
"maxItems": 3,
"items": [
{ "type": "number", "minimum": 1 },
{ "type": "number", "minimum": 0 },
{ "type": "number", "minimum": 0 }
]
}
},
"items": {
"type": "object",
"properties": {
"pack_id": { "description": "The uuid of the pack to include", "$ref": "#/definitions/uuidv4", "title": "Pack Id" },
"version": { "description": "The version of the pack", "$ref": "#/definitions/version", "title": "Version" }
},
"description": "TODO description: items",
"title": "Items"
}
}

View File

@@ -1 +1,50 @@
{"$schema":"http://json-schema.org/draft-07/schema","$id":"blockception.minecraft.language_names","examples":[[["en_US","English (US)"],["en_GB","English (UK)"],["de_DE","Deutsch (Deutschland)"],["es_ES","Español (España)"],["es_MX","Español (México)"],["fr_FR","Français (France)"],["fr_CA","Français (Canada)"],["it_IT","Italiano (Italia)"],["ja_JP","日本語 (日本)"],["ko_KR","한국어 (대한민국)"],["pt_BR","Português (Brasil)"],["pt_PT","Português (Portugal)"],["ru_RU","Русский (Россия)"],["zh_CN","简体中文"],["zh_TW","繁體中文"],["nl_NL","Nederlands (Nederland)"],["bg_BG","Български (BG)"],["cs_CZ","Čeština (Česká republika)"],["da_DK","Dansk (DA)"],["el_GR","Ελληνικά (Ελλάδα)"],["fi_FI","Suomi (Suomi)"],["hu_HU","Magyar (HU)"],["id_ID","Bahasa Indonesia (Indonesia)"],["nb_NO","Norsk bokmål (Norge)"],["pl_PL","Polski (PL)"],["sk_SK","Slovensky (SK)"],["sv_SE","Svenska (Sverige)"],["tr_TR","Türkçe (Türkiye)"],["uk_UA","Українська (Україна)"]]],"additionalProperties":false,"type":"array","title":"Language Names","description":"A language names definitions file","items":{"type":"array","description":"A language name identifier","items":[{"type":"string","description":"A language identifier","pattern":"^[a-z]{2}_[A-Z]{2}$"},{"type":"string","description":"The name of the language"}]},"definitions":{}} {
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.language_names",
"examples": [
[
["en_US", "English (US)"],
["en_GB", "English (UK)"],
["de_DE", "Deutsch (Deutschland)"],
["es_ES", "Español (España)"],
["es_MX", "Español (México)"],
["fr_FR", "Français (France)"],
["fr_CA", "Français (Canada)"],
["it_IT", "Italiano (Italia)"],
["ja_JP", "日本語 (日本)"],
["ko_KR", "한국어 (대한민국)"],
["pt_BR", "Português (Brasil)"],
["pt_PT", "Português (Portugal)"],
["ru_RU", "Русский (Россия)"],
["zh_CN", "简体中文"],
["zh_TW", "繁體中文"],
["nl_NL", "Nederlands (Nederland)"],
["bg_BG", "Български (BG)"],
["cs_CZ", "Čeština (Česká republika)"],
["da_DK", "Dansk (DA)"],
["el_GR", "Ελληνικά (Ελλάδα)"],
["fi_FI", "Suomi (Suomi)"],
["hu_HU", "Magyar (HU)"],
["id_ID", "Bahasa Indonesia (Indonesia)"],
["nb_NO", "Norsk bokmål (Norge)"],
["pl_PL", "Polski (PL)"],
["sk_SK", "Slovensky (SK)"],
["sv_SE", "Svenska (Sverige)"],
["tr_TR", "Türkçe (Türkiye)"],
["uk_UA", "Українська (Україна)"]
]
],
"additionalProperties": false,
"type": "array",
"title": "Language Names",
"description": "A language names definitions file",
"items": {
"type": "array",
"description": "A language name identifier",
"items": [
{ "type": "string", "description": "A language identifier", "pattern": "^[a-z]{2}_[A-Z]{2}$" },
{ "type": "string", "description": "The name of the language" }
]
},
"definitions": {}
}

View File

@@ -1 +1,43 @@
{"$schema":"http://json-schema.org/draft-07/schema","$id":"blockception.minecraft.languages","additionalProperties":false,"examples":[["en_US","en_GB","de_DE","es_ES","es_MX","fr_FR","fr_CA","it_IT","ja_JP","ko_KR","pt_BR","pt_PT","ru_RU","zh_CN","zh_TW","nl_NL","bg_BG","cs_CZ","da_DK","el_GR","fi_FI","hu_HU","id_ID","nb_NO","pl_PL","sk_SK","sv_SE","tr_TR","uk_UA"]],"type":"array","title":"Languages","description":"A language definitions file","items":{"type":"string","description":"A language identifier","pattern":"^[a-z]{2}_[A-Z]{2}$"},"definitions":{}} {
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.languages",
"additionalProperties": false,
"examples": [
[
"en_US",
"en_GB",
"de_DE",
"es_ES",
"es_MX",
"fr_FR",
"fr_CA",
"it_IT",
"ja_JP",
"ko_KR",
"pt_BR",
"pt_PT",
"ru_RU",
"zh_CN",
"zh_TW",
"nl_NL",
"bg_BG",
"cs_CZ",
"da_DK",
"el_GR",
"fi_FI",
"hu_HU",
"id_ID",
"nb_NO",
"pl_PL",
"sk_SK",
"sv_SE",
"tr_TR",
"uk_UA"
]
],
"type": "array",
"title": "Languages",
"description": "A language definitions file",
"items": { "type": "string", "description": "A language identifier", "pattern": "^[a-z]{2}_[A-Z]{2}$" },
"definitions": {}
}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -1 +1,68 @@
{"$schema":"http://json-schema.org/draft-07/schema","$id":"blockception.minecraft.block.json","type":"object","title":"Blocks","description":"The minecraft block definition file","definitions":{"texture":{"oneOf":[{"type":"string"},{"additionalProperties":false,"type":"object","properties":{"down":{"type":"string","pattern":"^[\\w_\\-]+$"},"up":{"type":"string","pattern":"^[\\w_\\-]+$"},"side":{"type":"string","pattern":"^[\\w_\\-]+$"},"south":{"type":"string","pattern":"^[\\w_\\-]+$"},"north":{"type":"string","pattern":"^[\\w_\\-]+$"},"west":{"type":"string","pattern":"^[\\w_\\-]+$"},"east":{"type":"string","pattern":"^[\\w_\\-]+$"}}}]}},"propertyNames":{"pattern":"^[\\w_\\-:]+$"},"properties":{"format_version":{"type":"array","items":[{"type":"integer"},{"type":"integer"},{"type":"integer"}],"description":"TODO description","title":"TODO title"}},"additionalProperties":{"additionalProperties":false,"title":"Block definition","description":"TODO","type":"object","properties":{"brightness_gamma":{"type":"number","title":"Brightness gamma","description":"TODO"},"carried_textures":{"$ref":"#/definitions/texture","title":"Carried textures","description":"TODO"},"isotropic":{"title":"Isotropic","description":"TODO","oneOf":[{"type":"boolean"},{"additionalProperties":false,"type":"object","properties":{"down":{"type":"boolean"},"up":{"type":"boolean"},"side":{"type":"boolean"},"south":{"type":"boolean"},"north":{"type":"boolean"},"west":{"type":"boolean"},"east":{"type":"boolean"}}}]},"sound":{"type":"string","title":"Sound","description":"TODO"},"textures":{"$ref":"#/definitions/texture","title":"Sound","description":"Textures"}}}} {
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.block.json",
"type": "object",
"title": "Blocks",
"description": "The minecraft block definition file",
"definitions": {
"texture": {
"oneOf": [
{ "type": "string" },
{
"additionalProperties": false,
"type": "object",
"properties": {
"down": { "type": "string", "pattern": "^[\\w_\\-]+$" },
"up": { "type": "string", "pattern": "^[\\w_\\-]+$" },
"side": { "type": "string", "pattern": "^[\\w_\\-]+$" },
"south": { "type": "string", "pattern": "^[\\w_\\-]+$" },
"north": { "type": "string", "pattern": "^[\\w_\\-]+$" },
"west": { "type": "string", "pattern": "^[\\w_\\-]+$" },
"east": { "type": "string", "pattern": "^[\\w_\\-]+$" }
}
}
]
}
},
"propertyNames": { "pattern": "^[\\w_\\-:]+$" },
"properties": {
"format_version": {
"type": "array",
"items": [{ "type": "integer" }, { "type": "integer" }, { "type": "integer" }],
"description": "TODO description",
"title": "TODO title"
}
},
"additionalProperties": {
"additionalProperties": false,
"title": "Block definition",
"description": "TODO",
"type": "object",
"properties": {
"brightness_gamma": { "type": "number", "title": "Brightness gamma", "description": "TODO" },
"carried_textures": { "$ref": "#/definitions/texture", "title": "Carried textures", "description": "TODO" },
"isotropic": {
"title": "Isotropic",
"description": "TODO",
"oneOf": [
{ "type": "boolean" },
{
"additionalProperties": false,
"type": "object",
"properties": {
"down": { "type": "boolean" },
"up": { "type": "boolean" },
"side": { "type": "boolean" },
"south": { "type": "boolean" },
"north": { "type": "boolean" },
"west": { "type": "boolean" },
"east": { "type": "boolean" }
}
}
]
},
"sound": { "type": "string", "title": "Sound", "description": "TODO" },
"textures": { "$ref": "#/definitions/texture", "title": "Sound", "description": "Textures" }
}
}
}

File diff suppressed because one or more lines are too long

View File

@@ -1 +1,134 @@
{"$schema":"http://json-schema.org/draft-07/schema","$id":"blockception.minecraft.resource.fog","examples":[],"allOf":[{"if":{"properties":{"format_version":{"type":"string","const":"1.16.100"}}},"then":{"$ref":"#/definitions/A"}}],"definitions":{"A_colorHexOrArray":{"oneOf":[{"type":"array","items":[{"type":"number","minimum":0,"maximum":1,"title":"Red"},{"type":"number","minimum":0,"maximum":1,"title":"Green"},{"type":"number","minimum":0,"maximum":1,"title":"Blue"}]},{"type":"string","format":"color-hex","pattern":"^\\#[0-9a-fA-F]{6}$"}]},"B":{"type":"string","title":"The minecraft fog identifier","description":"The minecraft fog identifier","pattern":"^[0-9a-zA-Z:_\\.\\-]+$"},"A":{"type":"object","additionalProperties":false,"title":"Fog specification","description":"TODO","properties":{"format_version":{"title":"Format version","description":"TODO: format_version","type":"string"},"minecraft:fog_settings":{"title":"Fog settings","description":"TODO","type":"object","additionalProperties":false,"properties":{"description":{"title":"Description","description":"The identifying description of this fog settings","type":"object","additionalProperties":false,"properties":{"identifier":{"type":"string","title":"Identifier","$ref":"#/definitions/B"}}},"distance":{"title":"Distance","description":"The fog that is generated by the distance of the players view","type":"object","propertyNames":{"enum":["water","air","weather","lava","lava_resistance"]},"additionalProperties":{"title":"Fog specification","description":"TODO","type":"object","additionalProperties":false,"properties":{"fog_start":{"title":"Fog start","description":"The distance where the fog will start","type":"number"},"fog_end":{"title":"Fog end","description":"The distance where the fog will be opague","type":"number"},"fog_color":{"title":"Fog color","description":"The color of the fog","type":"string","format":"color-hex"},"render_distance_type":{"title":"Render distance type","description":"Wheter the fog should be calculated from the render distance or a fixed depth","type":"string","enum":["fixed","render"]}}}},"volumetric":{"title":"Volumetric","description":"Settings for light passing through blocks and the resulting fog","type":"object","additionalProperties":false,"properties":{"density":{"title":"Density","description":"TODO","propertyNames":{"enum":["water","air","weather","lava","lava_resistance"]},"additionalProperties":{"description":"TODO","type":"object","additionalProperties":false,"properties":{"max_density":{"title":"Max density","description":"How much the fog disrupts the light","type":"number","minimum":0,"maximum":1},"uniform":{"title":"Uniform","description":"If the fog should be evenly spread","type":"boolean"},"zero_density_height":{"title":"Zero density height","description":"NOTE: only works if uniform is false, The amount of blocks this fog will appear above blocks","type":"number"},"max_density_height":{"title":"Max density height","description":"NOTE: only works if uniform is false, The amount of blocks that the fog will become its maximum","type":"number"}}}},"media_coefficients":{"title":"Density","description":"Describes what happens to the light when it passes through a medium","propertyNames":{"enum":["water","air","cloud"]},"additionalProperties":{"description":"TODO","type":"object","additionalProperties":false,"properties":{"absorption":{"title":"Absorption","description":"How much of the light will be absorbed accross the RGB range","$ref":"#/definitions/A_colorHexOrArray"},"scattering":{"title":"Scattering","description":"How much of the light will be spread accross the RGB range","$ref":"#/definitions/A_colorHexOrArray"}}}}}}}}}}}} {
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.resource.fog",
"examples": [],
"allOf": [{ "if": { "properties": { "format_version": { "type": "string", "const": "1.16.100" } } }, "then": { "$ref": "#/definitions/A" } }],
"definitions": {
"A_colorHexOrArray": {
"oneOf": [
{
"type": "array",
"items": [
{ "type": "number", "minimum": 0, "maximum": 1, "title": "Red" },
{ "type": "number", "minimum": 0, "maximum": 1, "title": "Green" },
{ "type": "number", "minimum": 0, "maximum": 1, "title": "Blue" }
]
},
{ "type": "string", "format": "color-hex", "pattern": "^\\#[0-9a-fA-F]{6}$" }
]
},
"B": {
"type": "string",
"title": "The minecraft fog identifier",
"description": "The minecraft fog identifier",
"pattern": "^[0-9a-zA-Z:_\\.\\-]+$"
},
"A": {
"type": "object",
"additionalProperties": false,
"title": "Fog specification",
"description": "TODO",
"properties": {
"format_version": { "title": "Format version", "description": "TODO: format_version", "type": "string" },
"minecraft:fog_settings": {
"title": "Fog settings",
"description": "TODO",
"type": "object",
"additionalProperties": false,
"properties": {
"description": {
"title": "Description",
"description": "The identifying description of this fog settings",
"type": "object",
"additionalProperties": false,
"properties": { "identifier": { "type": "string", "title": "Identifier", "$ref": "#/definitions/B" } }
},
"distance": {
"title": "Distance",
"description": "The fog that is generated by the distance of the players view",
"type": "object",
"propertyNames": { "enum": ["water", "air", "weather", "lava", "lava_resistance"] },
"additionalProperties": {
"title": "Fog specification",
"description": "TODO",
"type": "object",
"additionalProperties": false,
"properties": {
"fog_start": { "title": "Fog start", "description": "The distance where the fog will start", "type": "number" },
"fog_end": { "title": "Fog end", "description": "The distance where the fog will be opague", "type": "number" },
"fog_color": { "title": "Fog color", "description": "The color of the fog", "type": "string", "format": "color-hex" },
"render_distance_type": {
"title": "Render distance type",
"description": "Wheter the fog should be calculated from the render distance or a fixed depth",
"type": "string",
"enum": ["fixed", "render"]
}
}
}
},
"volumetric": {
"title": "Volumetric",
"description": "Settings for light passing through blocks and the resulting fog",
"type": "object",
"additionalProperties": false,
"properties": {
"density": {
"title": "Density",
"description": "TODO",
"propertyNames": { "enum": ["water", "air", "weather", "lava", "lava_resistance"] },
"additionalProperties": {
"description": "TODO",
"type": "object",
"additionalProperties": false,
"properties": {
"max_density": {
"title": "Max density",
"description": "How much the fog disrupts the light",
"type": "number",
"minimum": 0,
"maximum": 1
},
"uniform": { "title": "Uniform", "description": "If the fog should be evenly spread", "type": "boolean" },
"zero_density_height": {
"title": "Zero density height",
"description": "NOTE: only works if uniform is false, The amount of blocks this fog will appear above blocks",
"type": "number"
},
"max_density_height": {
"title": "Max density height",
"description": "NOTE: only works if uniform is false, The amount of blocks that the fog will become its maximum",
"type": "number"
}
}
}
},
"media_coefficients": {
"title": "Density",
"description": "Describes what happens to the light when it passes through a medium",
"propertyNames": { "enum": ["water", "air", "cloud"] },
"additionalProperties": {
"description": "TODO",
"type": "object",
"additionalProperties": false,
"properties": {
"absorption": {
"title": "Absorption",
"description": "How much of the light will be absorbed accross the RGB range",
"$ref": "#/definitions/A_colorHexOrArray"
},
"scattering": {
"title": "Scattering",
"description": "How much of the light will be spread accross the RGB range",
"$ref": "#/definitions/A_colorHexOrArray"
}
}
}
}
}
}
}
}
}
}
}
}

View File

@@ -1 +1,62 @@
{"$schema":"http://json-schema.org/draft-07/schema","$id":"blockception.minecraft.resource.items","examples":[{"format_version":"1.10.0","minecraft:item":{"description":{"identifier":"blockception:item","category":"Equipment"},"components":{"minecraft:icon":"item","minecraft:render_offsets":"apple"}}}],"allOf":[{"if":{"properties":{"format_version":{"type":"string","const":"1.10"}}},"then":{"$ref":"#/definitions/A"}},{"if":{"properties":{"format_version":{"type":"string","const":"1.10.0"}}},"then":{"$ref":"#/definitions/A"}}],"definitions":{"B":{"type":"string","title":"The minecraft item identifier 1.8.0","description":"The minecraft item identifier","pattern":"^[0-9a-zA-Z:_\\-\\.]+$"},"A":{"description":"Minecraft items 1.10.0","required":["format_version","minecraft:item"],"title":"Item","properties":{"format_version":{"type":"string","description":"TODO description","title":"TODO title"},"minecraft:item":{"title":"Item","description":"TODO","required":["description","components"],"type":"object","additionalProperties":false,"properties":{"description":{"title":"Description","description":"TODO","required":["identifier"],"type":"object","additionalProperties":false,"properties":{"identifier":{"title":"Identifier","description":"TODO","$ref":"#/definitions/B"},"category":{"title":"Category","description":"TODO","type":"string"}}},"components":{"title":"Components","description":"TODO","additionalProperties":false,"properties":{"minecraft:icon":{"title":"Icon","description":"The texture defined in `textures/item_texture.json`","type":"string"},"minecraft:render_offsets":{"type":"string","description":"TODO","title":"Render offsets","enum":["apple"]}}}}}}}}} {
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.resource.items",
"examples": [
{
"format_version": "1.10.0",
"minecraft:item": {
"description": { "identifier": "blockception:item", "category": "Equipment" },
"components": { "minecraft:icon": "item", "minecraft:render_offsets": "apple" }
}
}
],
"allOf": [
{ "if": { "properties": { "format_version": { "type": "string", "const": "1.10" } } }, "then": { "$ref": "#/definitions/A" } },
{ "if": { "properties": { "format_version": { "type": "string", "const": "1.10.0" } } }, "then": { "$ref": "#/definitions/A" } }
],
"definitions": {
"B": {
"type": "string",
"title": "The minecraft item identifier 1.8.0",
"description": "The minecraft item identifier",
"pattern": "^[0-9a-zA-Z:_\\-\\.]+$"
},
"A": {
"description": "Minecraft items 1.10.0",
"required": ["format_version", "minecraft:item"],
"title": "Item",
"properties": {
"format_version": { "type": "string", "description": "TODO description", "title": "TODO title" },
"minecraft:item": {
"title": "Item",
"description": "TODO",
"required": ["description", "components"],
"type": "object",
"additionalProperties": false,
"properties": {
"description": {
"title": "Description",
"description": "TODO",
"required": ["identifier"],
"type": "object",
"additionalProperties": false,
"properties": {
"identifier": { "title": "Identifier", "description": "TODO", "$ref": "#/definitions/B" },
"category": { "title": "Category", "description": "TODO", "type": "string" }
}
},
"components": {
"title": "Components",
"description": "TODO",
"additionalProperties": false,
"properties": {
"minecraft:icon": { "title": "Icon", "description": "The texture defined in `textures/item_texture.json`", "type": "string" },
"minecraft:render_offsets": { "type": "string", "description": "TODO", "title": "Render offsets", "enum": ["apple"] }
}
}
}
}
}
}
}
}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -1 +1,217 @@
{"$schema":"http://json-schema.org/draft-07/schema","$id":"blockception.minecraft.resource.sounds.json","type":"object","title":"Sounds.json","description":"Sound definitions","additionalProperties":false,"definitions":{"pitch":{"title":"Pitch","oneOf":[{"default":1,"type":"number","description":"A defined pitch"},{"description":"A random selection between a minimum and maximum","type":"array","items":[{"type":"number","minimum":0,"title":"Minimum"},{"type":"number","minimum":0,"title":"Maximum"}]}]},"volume":{"title":"Volume","oneOf":[{"default":1,"type":"number","description":"A defined volume"},{"description":"A random selection between a minimum and maximum","type":"array","items":[{"type":"number","minimum":0,"title":"Minimum"},{"type":"number","minimum":0,"title":"Maximum"}]}]},"sound_event":{"title":"Sound event definition","description":"A single sound event definition","oneOf":[{"type":"string"},{"type":"object","additionalProperties":false,"required":["sound"],"properties":{"volume":{"$ref":"#/definitions/volume"},"sound":{"type":"string","title":"Sound event","description":"The sound event described in sound_definitions.json"},"pitch":{"$ref":"#/definitions/pitch"}}}]},"entity_event":{"type":"object","title":"Entity sound","description":"Entity sound definitions","properties":{"volume":{"$ref":"#/definitions/volume"},"pitch":{"$ref":"#/definitions/pitch"},"events":{"type":"object","title":"Events","propertyNames":{"pattern":"[a-z\\._]+"},"additionalProperties":{"$ref":"#/definitions/sound_event"}}}}},"properties":{"block_sounds":{"type":"object","title":"Block sounds","description":"Block sound definitions","additionalProperties":{"type":"object","title":"Block sound definition","description":"A single block sound definition","additionalProperties":false,"properties":{"volume":{"$ref":"#/definitions/volume"},"pitch":{"$ref":"#/definitions/pitch"},"events":{"type":"object","title":"Events","propertyNames":{"enum":["default","item.use.on","break","hit","place","power.on","power.off"]},"additionalProperties":{"$ref":"#/definitions/sound_event"}}}}},"entity_sounds":{"type":"object","title":"Entity sounds","description":"Entity sounds definitions","additionalProperties":false,"properties":{"defaults":{"$ref":"#/definitions/entity_event"},"entities":{"type":"object","title":"Entities","description":"Entities definitions","additionalProperties":{"$ref":"#/definitions/entity_event"}}}},"individual_event_sounds":{"type":"object","title":"Individual event sounds","description":"Individual event sounds definitions","additionalProperties":false,"properties":{"events":{"type":"object","title":"Events","description":"Events","additionalProperties":{"$ref":"#/definitions/sound_event"}}}},"interactive_sounds":{"type":"object","title":"Interactive sounds","description":"Interactive sounds definitions","additionalProperties":false,"properties":{"block_sounds":{"type":"object","title":"Block sounds","description":"Block sound definitions","additionalProperties":{"type":"object","title":"Block sound definition","description":"A single block sound definition","additionalProperties":false,"properties":{"volume":{"$ref":"#/definitions/volume"},"pitch":{"$ref":"#/definitions/pitch"},"events":{"type":"object","title":"Events","propertyNames":{"enum":["default","fall","step","hit","jump","land"]},"additionalProperties":{"title":"Sound event definition","description":"A single sound event definition","oneOf":[{"type":"string"},{"type":"object","additionalProperties":false,"minProperties":1,"properties":{"volume":{"$ref":"#/definitions/volume"},"sound":{"type":"string","title":"Sound event","description":"The sound event described in sound_definitions.json"},"pitch":{"$ref":"#/definitions/pitch"}}}]}}}}},"entity_sounds":{"type":"object","title":"Entity sounds","description":"Entity sound definitions","additionalProperties":false,"properties":{"defaults":{"type":"object","title":"Defaults","description":"Default sound definitions","additionalProperties":{"type":"object","title":"Entity sounds","properties":{"events":{"type":"object","title":"Entity events","propertyNames":{"pattern":"[a-z0-9\\.]+"},"additionalProperties":{"type":"object","title":"Entity Event","description":"A single entity event","additionalProperties":{"type":"string","title":"A sound interaction"}}}}},"properties":{"volume":{"$ref":"#/definitions/volume"},"pitch":{"$ref":"#/definitions/pitch"}}},"entities":{"type":"object","title":"Entites sounds","description":"Entities sound definitions","additionalProperties":{"type":"object","title":"Entity sounds","properties":{"volume":{"$ref":"#/definitions/volume"},"pitch":{"$ref":"#/definitions/pitch"},"events":{"type":"object","title":"Entity events","propertyNames":{"pattern":"[a-z0-9\\.]+"},"additionalProperties":{"type":"object","title":"Entity Event","description":"A single entity event","additionalProperties":{"type":"string","title":"A sound interaction"}}}}}}}}}}}} {
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.resource.sounds.json",
"type": "object",
"title": "Sounds.json",
"description": "Sound definitions",
"additionalProperties": false,
"definitions": {
"pitch": {
"title": "Pitch",
"oneOf": [
{ "default": 1, "type": "number", "description": "A defined pitch" },
{
"description": "A random selection between a minimum and maximum",
"type": "array",
"items": [
{ "type": "number", "minimum": 0, "title": "Minimum" },
{ "type": "number", "minimum": 0, "title": "Maximum" }
]
}
]
},
"volume": {
"title": "Volume",
"oneOf": [
{ "default": 1, "type": "number", "description": "A defined volume" },
{
"description": "A random selection between a minimum and maximum",
"type": "array",
"items": [
{ "type": "number", "minimum": 0, "title": "Minimum" },
{ "type": "number", "minimum": 0, "title": "Maximum" }
]
}
]
},
"sound_event": {
"title": "Sound event definition",
"description": "A single sound event definition",
"oneOf": [
{ "type": "string" },
{
"type": "object",
"additionalProperties": false,
"required": ["sound"],
"properties": {
"volume": { "$ref": "#/definitions/volume" },
"sound": { "type": "string", "title": "Sound event", "description": "The sound event described in sound_definitions.json" },
"pitch": { "$ref": "#/definitions/pitch" }
}
}
]
},
"entity_event": {
"type": "object",
"title": "Entity sound",
"description": "Entity sound definitions",
"properties": {
"volume": { "$ref": "#/definitions/volume" },
"pitch": { "$ref": "#/definitions/pitch" },
"events": {
"type": "object",
"title": "Events",
"propertyNames": { "pattern": "[a-z\\._]+" },
"additionalProperties": { "$ref": "#/definitions/sound_event" }
}
}
}
},
"properties": {
"block_sounds": {
"type": "object",
"title": "Block sounds",
"description": "Block sound definitions",
"additionalProperties": {
"type": "object",
"title": "Block sound definition",
"description": "A single block sound definition",
"additionalProperties": false,
"properties": {
"volume": { "$ref": "#/definitions/volume" },
"pitch": { "$ref": "#/definitions/pitch" },
"events": {
"type": "object",
"title": "Events",
"propertyNames": { "enum": ["default", "item.use.on", "break", "hit", "place", "power.on", "power.off"] },
"additionalProperties": { "$ref": "#/definitions/sound_event" }
}
}
}
},
"entity_sounds": {
"type": "object",
"title": "Entity sounds",
"description": "Entity sounds definitions",
"additionalProperties": false,
"properties": {
"defaults": { "$ref": "#/definitions/entity_event" },
"entities": {
"type": "object",
"title": "Entities",
"description": "Entities definitions",
"additionalProperties": { "$ref": "#/definitions/entity_event" }
}
}
},
"individual_event_sounds": {
"type": "object",
"title": "Individual event sounds",
"description": "Individual event sounds definitions",
"additionalProperties": false,
"properties": {
"events": { "type": "object", "title": "Events", "description": "Events", "additionalProperties": { "$ref": "#/definitions/sound_event" } }
}
},
"interactive_sounds": {
"type": "object",
"title": "Interactive sounds",
"description": "Interactive sounds definitions",
"additionalProperties": false,
"properties": {
"block_sounds": {
"type": "object",
"title": "Block sounds",
"description": "Block sound definitions",
"additionalProperties": {
"type": "object",
"title": "Block sound definition",
"description": "A single block sound definition",
"additionalProperties": false,
"properties": {
"volume": { "$ref": "#/definitions/volume" },
"pitch": { "$ref": "#/definitions/pitch" },
"events": {
"type": "object",
"title": "Events",
"propertyNames": { "enum": ["default", "fall", "step", "hit", "jump", "land"] },
"additionalProperties": {
"title": "Sound event definition",
"description": "A single sound event definition",
"oneOf": [
{ "type": "string" },
{
"type": "object",
"additionalProperties": false,
"minProperties": 1,
"properties": {
"volume": { "$ref": "#/definitions/volume" },
"sound": { "type": "string", "title": "Sound event", "description": "The sound event described in sound_definitions.json" },
"pitch": { "$ref": "#/definitions/pitch" }
}
}
]
}
}
}
}
},
"entity_sounds": {
"type": "object",
"title": "Entity sounds",
"description": "Entity sound definitions",
"additionalProperties": false,
"properties": {
"defaults": {
"type": "object",
"title": "Defaults",
"description": "Default sound definitions",
"additionalProperties": {
"type": "object",
"title": "Entity sounds",
"properties": {
"events": {
"type": "object",
"title": "Entity events",
"propertyNames": { "pattern": "[a-z0-9\\.]+" },
"additionalProperties": {
"type": "object",
"title": "Entity Event",
"description": "A single entity event",
"additionalProperties": { "type": "string", "title": "A sound interaction" }
}
}
}
},
"properties": { "volume": { "$ref": "#/definitions/volume" }, "pitch": { "$ref": "#/definitions/pitch" } }
},
"entities": {
"type": "object",
"title": "Entites sounds",
"description": "Entities sound definitions",
"additionalProperties": {
"type": "object",
"title": "Entity sounds",
"properties": {
"volume": { "$ref": "#/definitions/volume" },
"pitch": { "$ref": "#/definitions/pitch" },
"events": {
"type": "object",
"title": "Entity events",
"propertyNames": { "pattern": "[a-z0-9\\.]+" },
"additionalProperties": {
"type": "object",
"title": "Entity Event",
"description": "A single entity event",
"additionalProperties": { "type": "string", "title": "A sound interaction" }
}
}
}
}
}
}
}
}
}
}
}

View File

@@ -1 +1,36 @@
{"$schema":"http://json-schema.org/draft-07/schema","$id":"blockception.minecraft.music_definitions.json","examples":[{"example":{"event_name":"music.example","min_delay":600,"max_delay":1200}}],"type":"object","title":"The minecraft music definition file","description":"The definition file of music of the resourcepack","definitions":{"music":{}},"propertyNames":{"examples":["creative","credits","end","endboss","game","hell","menu","nether","soulsand_valley","water"]},"additionalProperties":{"additionalProperties":false,"type":"object","description":"A music defintion","required":["event_name"],"properties":{"event_name":{"description":"The name of the minecraft music event","type":"string","examples":["music.game","music.game.creative","music.game.end","music.game.endboss","music.game.nether","music.game.credits","music.game.nether_wastes","music.menu"],"title":"Event Name"},"min_delay":{"type":"integer","description":"TODO description: min delay","title":"Min Delay"},"max_delay":{"type":"integer","description":"TODO description: max delay","title":"Max Delay"}},"title":"Music"}} {
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.music_definitions.json",
"examples": [{ "example": { "event_name": "music.example", "min_delay": 600, "max_delay": 1200 } }],
"type": "object",
"title": "The minecraft music definition file",
"description": "The definition file of music of the resourcepack",
"definitions": { "music": {} },
"propertyNames": { "examples": ["creative", "credits", "end", "endboss", "game", "hell", "menu", "nether", "soulsand_valley", "water"] },
"additionalProperties": {
"additionalProperties": false,
"type": "object",
"description": "A music defintion",
"required": ["event_name"],
"properties": {
"event_name": {
"description": "The name of the minecraft music event",
"type": "string",
"examples": [
"music.game",
"music.game.creative",
"music.game.end",
"music.game.endboss",
"music.game.nether",
"music.game.credits",
"music.game.nether_wastes",
"music.menu"
],
"title": "Event Name"
},
"min_delay": { "type": "integer", "description": "TODO description: min delay", "title": "Min Delay" },
"max_delay": { "type": "integer", "description": "TODO description: max delay", "title": "Max Delay" }
},
"title": "Music"
}
}

File diff suppressed because one or more lines are too long

View File

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

View File

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

View File

@@ -1 +1,42 @@
{"$schema":"http://json-schema.org/draft-07/schema","title":"Skip pack","description":"Skin pack definition","type":"object","additionalProperties":false,"required":["serialize_name","localization_name","skins"],"properties":{"serialize_name":{"title":"Serialize name","description":"The name of the pack as an identifier, they must be the same as the name of pack without spaces","type":"string"},"localization_name":{"title":"Locatlization name","description":"The key in the language file to use to display text","type":"string"},"skins":{"type":"array","title":"Skins","description":"An array of item","items":{"title":"Skin definition","description":"A single skin definition","additionalProperties":false,"required":["localization_name","geometry","texture","type"],"properties":{"localization_name":{"title":"Locatlization name","description":"The key in the language file to use to display text","type":"string"},"geometry":{"title":"Geometry","description":"The type of geometry to use","enum":["geometry.humanoid.custom","geometry.humanoid.customSlim"]},"texture":{"title":"Texture","description":"The filename of the skin","pattern":"^.*\\.png$"},"type":{"title":"Type","description":"The type of skin","enum":["free","paid"]}}}}},"definitions":{}} {
"$schema": "http://json-schema.org/draft-07/schema",
"title": "Skip pack",
"description": "Skin pack definition",
"type": "object",
"additionalProperties": false,
"required": ["serialize_name", "localization_name", "skins"],
"properties": {
"serialize_name": {
"title": "Serialize name",
"description": "The name of the pack as an identifier, they must be the same as the name of pack without spaces",
"type": "string"
},
"localization_name": { "title": "Locatlization name", "description": "The key in the language file to use to display text", "type": "string" },
"skins": {
"type": "array",
"title": "Skins",
"description": "An array of item",
"items": {
"title": "Skin definition",
"description": "A single skin definition",
"additionalProperties": false,
"required": ["localization_name", "geometry", "texture", "type"],
"properties": {
"localization_name": {
"title": "Locatlization name",
"description": "The key in the language file to use to display text",
"type": "string"
},
"geometry": {
"title": "Geometry",
"description": "The type of geometry to use",
"enum": ["geometry.humanoid.custom", "geometry.humanoid.customSlim"]
},
"texture": { "title": "Texture", "description": "The filename of the skin", "pattern": "^.*\\.png$" },
"type": { "title": "Type", "description": "The type of skin", "enum": ["free", "paid"] }
}
}
}
},
"definitions": {}
}