Files
minecraft-bedrock-json-schemas/source/resource/sounds/music_definitions.json
2022-07-22 19:41:04 +02:00

28 lines
1.3 KiB
JSON

{
"$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": "UNDOCUMENTED: Minimum delay.", "title": "Minimum Delay" },
"max_delay": { "type": "integer", "description": "UNDOCUMENTED: Maximum delay.", "title": "Maximum Delay" }
},
"title": "Music"
}
}