Files
minecraft-bedrock-json-schemas/source/resource/sounds/music_definitions.json

37 lines
1.3 KiB
JSON
Raw Normal View History

2020-11-01 17:22:42 +01:00
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.music_definitions.json",
2021-03-21 15:18:38 +01:00
"examples": [{ "example": { "event_name": "music.example", "min_delay": 600, "max_delay": 1200 } }],
2020-11-01 17:22:42 +01:00
"type": "object",
2021-03-21 15:18:38 +01:00
"title": "Music File",
2020-11-01 17:22:42 +01:00
"description": "The definition file of music of the resourcepack",
2021-03-21 15:18:38 +01:00
"definitions": { "music": {} },
"propertyNames": { "examples": ["creative", "credits", "end", "endboss", "game", "hell", "menu", "nether", "soulsand_valley", "water"] },
2020-11-01 17:22:42 +01:00
"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"
},
2021-03-21 15:18:38 +01:00
"min_delay": { "type": "integer", "description": "TODO description: min delay", "title": "Min Delay" },
"max_delay": { "type": "integer", "description": "TODO description: max delay", "title": "Max Delay" }
2020-11-01 17:22:42 +01:00
},
"title": "Music"
}
}