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

View File

@@ -3,13 +3,13 @@
"$id": "blockception.minecraft.sound_definition.1.14.0.json",
"type": "object",
"additionalItems": false,
"title": "The minecraft sound definition file for 1.14.0",
"title": "Sound File For 1.14.0",
"description": "TODO description",
"definitions": {
"SoundPath": {
"$id": "SoundFilepath",
"type": "string",
"title": "The sound filepath schema",
"title": "Sound Filepath Schema",
"description": "The filepath to the sound, starts with 'sounds/'",
"pattern": "(^sounds/.*$|^$)",
"additionalItems": true
@@ -18,62 +18,31 @@
"additionalItems": false,
"type": "object",
"$id": "#/Sound",
"title": "Sound specification",
"title": "Sound ",
"required": ["sounds"],
"properties": {
"category": {
"type": "string",
"$id": "#/Sound/category",
"title": "Sound category",
"title": "Sound Category",
"enum": ["ambient", "block", "music", "weather", "ui", "bucket", "neutral", "player", "hostile", "record", "bottle"],
"description": "TODO description: category"
},
"sounds": {
"items": {
"anyOf": [
{
"$id": "#/Sound/sounds/stringItem",
"type": "string",
"$ref": "#/definitions/SoundPath",
"description": "TODO description: Todo",
"title": "Todo"
},
{ "$id": "#/Sound/sounds/stringItem", "type": "string", "$ref": "#/definitions/SoundPath", "description": "TODO description: Todo", "title": "Todo" },
{
"additionalItems": false,
"$id": "#/Sound/sounds/ObjectItem",
"type": "object",
"required": ["name"],
"properties": {
"pitch": {
"description": "The pitch of the audio, 1 is nomial",
"type": "number",
"minimum": 0,
"maximum": 2,
"title": "Pitch"
},
"volume": {
"description": "The volume of the audio, 1 is nomial",
"type": "number",
"minimum": 0,
"title": "Volume"
},
"load_on_low_memory": {
"type": "boolean",
"description": "Marks if this audio should be loaded or not on low memory",
"title": "Load On Low Memory"
},
"stream": {
"description": "If marked true then minecraft will stream the audio",
"type": "boolean",
"title": "Stream"
},
"name": {
"$id": "#/Sound/sounds/stringItem",
"type": "string",
"$ref": "#/definitions/SoundPath",
"description": "TODO description: name",
"title": "Name"
}
"pitch": { "description": "The pitch of the audio, 1 is nomial", "type": "number", "minimum": 0, "maximum": 2, "title": "Pitch" },
"volume": { "description": "The volume of the audio, 1 is nomial", "type": "number", "minimum": 0, "title": "Volume" },
"load_on_low_memory": { "type": "boolean", "description": "Marks if this audio should be loaded or not on low memory", "title": "Load On Low Memory" },
"stream": { "description": "If marked true then minecraft will stream the audio", "type": "boolean", "title": "Stream" },
"name": { "$id": "#/Sound/sounds/stringItem", "type": "string", "$ref": "#/definitions/SoundPath", "description": "TODO description: name", "title": "Name" }
},
"description": "TODO description: Todo",
"title": "Todo"
@@ -97,18 +66,11 @@
},
"sound_definitions": {
"type": "object",
"additionalProperties": {
"$ref": "#/definitions/SoundSpec"
},
"additionalProperties": { "$ref": "#/definitions/SoundSpec" },
"description": "TODO description: sound definitions",
"title": "Sound Definitions"
},
"__use_legacy_max_distance": {
"description": "TODO description: use legacy max distance",
"title": "Use Legacy Max Distance",
"type": "string",
"enum": ["true", "false"]
}
"__use_legacy_max_distance": { "description": "TODO description: use legacy max distance", "title": "Use Legacy Max Distance", "type": "string", "enum": ["true", "false"] }
},
"additionalProperties": false
}