Files
minecraft-bedrock-json-schemas/source/behavior/entities/1.8.0/behaviors/minecraft.behavior.celebrate.json
2021-06-06 10:07:19 +00:00

50 lines
1.7 KiB
JSON

{
"$id": "blockception.minecraft.behavior.entities.1.8.0.minecraft.behavior.celebrate",
"type": "object",
"title": "Celebrate 1.8.0",
"description": "This allows the mob celebrate by jumping up and playing a sound periodically.",
"additionalProperties": false,
"properties": {
"priority": { "$ref": "types/priority.json" },
"celebration_sound": { "type": "string", "default": "", "description": "The sound to occasionally play.", "title": "Celebration Sound" },
"duration": { "type": "number", "default": 1, "description": "The duration of the celebration (in seconds).", "title": "Duration" },
"jump_interval": {
"type": "array",
"default": 0,
"description": "The range of time in seconds to randomly wait before jumping again.",
"title": "Jump Interval",
"oneOf": [
{
"type": "array",
"items": [
{ "type": "number", "title": "Maximum" },
{ "type": "number", "title": "Maximum" }
]
},
{ "type": "number" }
]
},
"on_celebration_end_event": {
"$ref": "../types/trigger.json",
"description": "The event to trigger when the goal's duration expires.",
"title": "On Celebration End Event"
},
"sound_interval": {
"type": "array",
"default": 0,
"description": "The range of time in seconds to randomly wait before playing the sound again.",
"title": "Sound Interval",
"oneOf": [
{
"type": "array",
"items": [
{ "type": "number", "title": "Maximum" },
{ "type": "number", "title": "Maximum" }
]
},
{ "type": "number" }
]
}
}
}