auto: Formatted json files
This commit is contained in:
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
File diff suppressed because one or more lines are too long
@@ -1 +1,40 @@
|
|||||||
{"$schema":"http://json-schema.org/draft-07/schema","$id":"blockception.minecraft.world_x_packs","type":"array","title":"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": "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"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|||||||
@@ -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": {}
|
||||||
|
}
|
||||||
|
|||||||
@@ -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
@@ -1 +1,63 @@
|
|||||||
{"$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","description":"Block texture definition","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":"Marks if this block is isotropic or not, or which side are","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":"The sound definition of this block"},"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",
|
||||||
|
"description": "Block texture definition",
|
||||||
|
"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": "Marks if this block is isotropic or not, or which side are",
|
||||||
|
"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": "The sound definition of this block" },
|
||||||
|
"textures": { "$ref": "#/definitions/texture", "title": "Sound", "description": "Textures" }
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|||||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -1 +1,68 @@
|
|||||||
{"$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"}},{"properties":{"format_version":{"$ref":"#/definitions/C"}}}],"definitions":{"B":{"type":"string","title":"Item Identifier 1.8.0","description":"The minecraft item identifier","pattern":"^[0-9a-zA-Z:_\\-\\.]+$"},"A":{"required":["format_version","minecraft:item"],"title":"Item","description":"Minecraft items 1.10.0","properties":{"format_version":{"title":"Format Version","description":"A version that tells minecraft what type of data format can be expected when reading this file.","type":"string"},"minecraft:item":{"title":"Item","description":"A resource pack definition of an item","required":["description","components"],"type":"object","additionalProperties":false,"properties":{"description":{"title":"Description","description":"The description of an item","required":["identifier"],"type":"object","additionalProperties":false,"properties":{"identifier":{"title":"Identifier","description":"The item identifier","$ref":"#/definitions/B","examples":["namespace:example"]},"category":{"title":"Category","description":"The category this item belongs in","type":"string"}}},"components":{"title":"Components","description":"The components that describe this item","additionalProperties":false,"properties":{"minecraft:icon":{"title":"Icon","description":"The texture defined in `textures/item_texture.json`","type":"string"},"minecraft:render_offsets":{"type":"string","description":"The render offset used for the item","title":"Render Offsets","enum":["apple"]}}}}}}},"C":{"title":"Format version","description":"A version that tells minecraft what type of data format can be expected when reading this file.","pattern":"^[0-9,.]+?$","type":"string"}}}
|
{
|
||||||
|
"$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" } },
|
||||||
|
{ "properties": { "format_version": { "$ref": "#/definitions/C" } } }
|
||||||
|
],
|
||||||
|
"definitions": {
|
||||||
|
"B": { "type": "string", "title": "Item Identifier 1.8.0", "description": "The minecraft item identifier", "pattern": "^[0-9a-zA-Z:_\\-\\.]+$" },
|
||||||
|
"A": {
|
||||||
|
"required": ["format_version", "minecraft:item"],
|
||||||
|
"title": "Item",
|
||||||
|
"description": "Minecraft items 1.10.0",
|
||||||
|
"properties": {
|
||||||
|
"format_version": {
|
||||||
|
"title": "Format Version",
|
||||||
|
"description": "A version that tells minecraft what type of data format can be expected when reading this file.",
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
"minecraft:item": {
|
||||||
|
"title": "Item",
|
||||||
|
"description": "A resource pack definition of an item",
|
||||||
|
"required": ["description", "components"],
|
||||||
|
"type": "object",
|
||||||
|
"additionalProperties": false,
|
||||||
|
"properties": {
|
||||||
|
"description": {
|
||||||
|
"title": "Description",
|
||||||
|
"description": "The description of an item",
|
||||||
|
"required": ["identifier"],
|
||||||
|
"type": "object",
|
||||||
|
"additionalProperties": false,
|
||||||
|
"properties": {
|
||||||
|
"identifier": { "title": "Identifier", "description": "The item identifier", "$ref": "#/definitions/B", "examples": ["namespace:example"] },
|
||||||
|
"category": { "title": "Category", "description": "The category this item belongs in", "type": "string" }
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"components": {
|
||||||
|
"title": "Components",
|
||||||
|
"description": "The components that describe this item",
|
||||||
|
"additionalProperties": false,
|
||||||
|
"properties": {
|
||||||
|
"minecraft:icon": { "title": "Icon", "description": "The texture defined in `textures/item_texture.json`", "type": "string" },
|
||||||
|
"minecraft:render_offsets": { "type": "string", "description": "The render offset used for the item", "title": "Render Offsets", "enum": ["apple"] }
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"C": {
|
||||||
|
"title": "Format version",
|
||||||
|
"description": "A version that tells minecraft what type of data format can be expected when reading this file.",
|
||||||
|
"pattern": "^[0-9,.]+?$",
|
||||||
|
"type": "string"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|||||||
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
@@ -1 +1,205 @@
|
|||||||
{"$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","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","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","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","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",
|
||||||
|
"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",
|
||||||
|
"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",
|
||||||
|
"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",
|
||||||
|
"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" }
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|||||||
@@ -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":"Music 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": "Music 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
@@ -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": {}
|
||||||
|
}
|
||||||
|
|||||||
@@ -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" }
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|||||||
@@ -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" }
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|||||||
@@ -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": {}
|
||||||
|
}
|
||||||
|
|||||||
@@ -1 +1,34 @@
|
|||||||
{"$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","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",
|
||||||
|
"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": {}
|
||||||
|
}
|
||||||
|
|||||||
@@ -129,7 +129,7 @@
|
|||||||
"title": "Transition",
|
"title": "Transition",
|
||||||
"description": "A transition to another state",
|
"description": "A transition to another state",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"examples": [ { "default": "query.is_chested" }],
|
"examples": [{ "default": "query.is_chested" }],
|
||||||
"additionalProperties": {
|
"additionalProperties": {
|
||||||
"$ref": "../../../molang/1.8.0/string.json"
|
"$ref": "../../../molang/1.8.0/string.json"
|
||||||
},
|
},
|
||||||
@@ -144,7 +144,7 @@
|
|||||||
"title": "Initial State",
|
"title": "Initial State",
|
||||||
"description": "The state to start with, if not specified state at position 0 in the array is used",
|
"description": "The state to start with, if not specified state at position 0 in the array is used",
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"examples": ["default"]
|
"examples": ["default"]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -51,10 +51,14 @@
|
|||||||
"title": "Animation",
|
"title": "Animation",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"description": "A single animation definition for 1.10.0",
|
"description": "A single animation definition for 1.10.0",
|
||||||
"additionalProperties": false,
|
"additionalProperties": false,
|
||||||
"properties": {
|
"properties": {
|
||||||
"animation_length": { "type": "number", "description": "The time in seconds this animation will last", "title": "Animation Length" },
|
"animation_length": { "type": "number", "description": "The time in seconds this animation will last", "title": "Animation Length" },
|
||||||
"loop": { "type": "boolean", "description": "Whenever this animation should loop once it reaches the end, will only happen if the animation is still active", "title": "Loop" },
|
"loop": {
|
||||||
|
"type": "boolean",
|
||||||
|
"description": "Whenever this animation should loop once it reaches the end, will only happen if the animation is still active",
|
||||||
|
"title": "Loop"
|
||||||
|
},
|
||||||
"timeline": {
|
"timeline": {
|
||||||
"title": "Timeline",
|
"title": "Timeline",
|
||||||
"description": "A timeline specification, property names are timestamps",
|
"description": "A timeline specification, property names are timestamps",
|
||||||
|
|||||||
@@ -23,11 +23,11 @@
|
|||||||
"colorhex": { "description": "The colouration of this object", "title": "Colorhex", "format": "color-hex" }
|
"colorhex": { "description": "The colouration of this object", "title": "Colorhex", "format": "color-hex" }
|
||||||
},
|
},
|
||||||
"properties": {
|
"properties": {
|
||||||
"biomes": {
|
"biomes": {
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"title": "Biomes",
|
"title": "Biomes",
|
||||||
"additionalProperties": false,
|
"additionalProperties": false,
|
||||||
"description": "A collection of predefined biomes",
|
"description": "A collection of predefined biomes",
|
||||||
"properties": {
|
"properties": {
|
||||||
"bamboo_jungle": { "$ref": "#/definitions/biomespec" },
|
"bamboo_jungle": { "$ref": "#/definitions/biomespec" },
|
||||||
"bamboo_jungle_hills": { "$ref": "#/definitions/biomespec" },
|
"bamboo_jungle_hills": { "$ref": "#/definitions/biomespec" },
|
||||||
|
|||||||
Reference in New Issue
Block a user