79 lines
2.2 KiB
JSON
79 lines
2.2 KiB
JSON
{
|
|
"$schema": "http://json-schema.org/draft-07/schema",
|
|
"$id": "blockception.minecraft.behaviour.entities.1.16.100.minecraft.celebrate_hunt",
|
|
"type": "object",
|
|
"title": "Celebrate hunt 1.16.100",
|
|
"description": "Specifies hunt celebration behaviour.",
|
|
"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"
|
|
}
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|