Files
minecraft-bedrock-json-schemas/source/behavior/entities/1.16.0/components/minecraft.celebrate_hunt.json

58 lines
2.0 KiB
JSON
Raw Normal View History

2020-11-01 17:22:42 +01:00
{
"$schema": "http://json-schema.org/draft-07/schema",
2021-04-04 13:52:35 +02:00
"$id": "blockception.minecraft.behavior.entities.1.16.0.minecraft.celebrate_hunt",
2020-11-01 17:22:42 +01:00
"type": "object",
2021-03-21 15:18:38 +01:00
"title": "Celebrate Hunt 1.16.0",
2021-04-04 13:52:35 +02:00
"description": "Specifies hunt celebration behavior.",
2020-11-01 17:22:42 +01:00
"additionalProperties": false,
"properties": {
2021-05-18 23:32:44 +02:00
"broadcast": {
"type": "boolean",
"default": true,
"description": "If true, celebration will be broadcasted to other entities in the radius.",
"title": "Broadcast"
},
2020-11-01 17:22:42 +01:00
"celebration_targets": {
"$ref": "../filters.json",
"description": "The list of conditions that target of hunt must satisfy to initiate celebration.",
2021-03-21 15:18:38 +01:00
"title": "Celeberation Targets"
2020-11-01 17:22:42 +01:00
},
2021-05-18 23:32:44 +02:00
"celebrate_sound": {
"type": "string",
"default": "",
"description": "The sound event to play when the mob is celebrating",
"title": "Celebrate Sound"
},
2021-03-21 15:18:38 +01:00
"duration": { "type": "integer", "default": 4, "description": "Duration, in seconds, of celebration", "title": "Duration" },
2020-11-01 17:22:42 +01:00
"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",
2021-03-21 15:18:38 +01:00
"title": "Sound Interval",
2020-11-01 17:22:42 +01:00
"oneOf": [
{
"type": "array",
"items": [
2021-03-21 15:18:38 +01:00
{ "type": "number", "title": "Maximum" },
{ "type": "number", "title": "Maximum" }
2020-11-01 17:22:42 +01:00
]
},
2021-03-21 15:18:38 +01:00
{ "type": "number" },
2020-11-01 17:22:42 +01:00
{
"type": "object",
"additionalProperties": false,
"properties": {
2021-03-21 15:18:38 +01:00
"range_min": { "type": "number", "title": "Update Interval Variant", "description": "UNDOCUMENTATED" },
"range_max": { "type": "number", "title": "Update Interval Variant", "description": "UNDOCUMENTATED" }
2020-11-01 17:22:42 +01:00
}
}
]
}
}
}