2020-11-01 17:22:42 +01:00
|
|
|
{
|
|
|
|
|
"$schema": "http://json-schema.org/draft-07/schema",
|
|
|
|
|
"$id": "blockception.minecraft.sound_definition.json",
|
2020-11-17 09:56:41 +01:00
|
|
|
"examples": [
|
|
|
|
|
{
|
|
|
|
|
"format_version": "1.14.0",
|
|
|
|
|
"sound_definitions": {
|
|
|
|
|
"music.game": { "category": "music", "sounds": [""] }
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
],
|
2020-11-01 17:22:42 +01:00
|
|
|
"allOf": [
|
|
|
|
|
{
|
|
|
|
|
"if": { "properties": { "format_version": { "type": "string" } } },
|
2020-12-12 00:09:25 +01:00
|
|
|
"else": { "$ref": "./sound_definitions_unknown.json" }
|
2020-11-01 17:22:42 +01:00
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"if": { "properties": { "format_version": { "type": "string", "const": "1.14.0" } } },
|
2020-12-12 00:09:25 +01:00
|
|
|
"then": { "$ref": "./1.14.0/sound_definitions.json" }
|
2020-11-01 17:22:42 +01:00
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
}
|