Files
minecraft-bedrock-json-schemas/source/behavior/entities/1.16.0/components/minecraft.celebrate_hunt.json
2021-05-18 23:32:44 +02:00

58 lines
2.0 KiB
JSON

{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behavior.entities.1.16.0.minecraft.celebrate_hunt",
"type": "object",
"title": "Celebrate Hunt 1.16.0",
"description": "Specifies hunt celebration behavior.",
"additionalProperties": false,
"properties": {
"broadcast": {
"type": "boolean",
"default": true,
"description": "If true, celebration will be broadcasted to other entities in the radius.",
"title": "Broadcast"
},
"celebration_targets": {
"$ref": "../filters.json",
"description": "The list of conditions that target of hunt must satisfy to initiate celebration.",
"title": "Celeberation Targets"
},
"celebrate_sound": {
"type": "string",
"default": "",
"description": "The sound event to play when the mob is celebrating",
"title": "Celebrate Sound"
},
"duration": { "type": "integer", "default": 4, "description": "Duration, in seconds, of celebration", "title": "Duration" },
"radius": {
"type": "number",
"default": 16,
"description": "If broadcast is enabled, specifies the radius in which it will notify other entities for celebration.",
"title": "Radius"
},
"sound_interval": {
"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" },
{
"type": "object",
"additionalProperties": false,
"properties": {
"range_min": { "type": "number", "title": "Update Interval Variant", "description": "UNDOCUMENTATED" },
"range_max": { "type": "number", "title": "Update Interval Variant", "description": "UNDOCUMENTATED" }
}
}
]
}
}
}