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

37 lines
1.4 KiB
JSON
Raw Normal View History

2021-06-06 10:07:19 +00:00
{
2021-11-20 11:26:35 +01:00
"$schema": "http://json-schema.org/draft-07/schema",
2021-06-06 10:07:19 +00:00
"$id": "blockception.minecraft.music_definitions.json",
"examples": [{ "example": { "event_name": "music.example", "min_delay": 600, "max_delay": 1200 } }],
"type": "object",
2021-11-20 11:26:35 +01:00
"title": "Music File",
2022-07-22 19:41:04 +02:00
"description": "The definition file of music of the resourcepack.",
2021-06-06 10:07:19 +00:00
"definitions": { "music": {} },
"propertyNames": { "examples": ["creative", "credits", "end", "endboss", "game", "hell", "menu", "nether", "soulsand_valley", "water"] },
"additionalProperties": {
"additionalProperties": false,
"type": "object",
2023-11-09 19:43:30 +01:00
"description": "A music definition.",
2021-06-06 10:07:19 +00:00
"required": ["event_name"],
"properties": {
"event_name": {
2022-07-22 19:41:04 +02:00
"description": "The name of the minecraft music event.",
2021-06-06 10:07:19 +00:00
"type": "string",
2023-11-09 19:43:30 +01:00
"examples": [
"music.game",
"music.game.creative",
"music.game.end",
"music.game.endboss",
"music.game.nether",
"music.game.credits",
"music.game.nether_wastes",
"music.menu"
],
2021-06-06 10:07:19 +00:00
"title": "Event Name"
},
2022-07-22 19:41:04 +02:00
"min_delay": { "type": "integer", "description": "UNDOCUMENTED: Minimum delay.", "title": "Minimum Delay" },
"max_delay": { "type": "integer", "description": "UNDOCUMENTED: Maximum delay.", "title": "Maximum Delay" }
2021-06-06 10:07:19 +00:00
},
"title": "Music"
}
}