2021-10-08 12:59:03 +02:00
|
|
|
{
|
2021-10-08 13:04:13 +02:00
|
|
|
"$id": "blockception.minecraft.behavior.entities.minecraft.behavior.scared",
|
2021-10-08 12:59:03 +02:00
|
|
|
"description": "Allows the a mob to become scared when the weather outside is thundering.",
|
|
|
|
|
"type": "object",
|
2021-10-08 13:04:13 +02:00
|
|
|
"title": "Scared",
|
2021-10-08 12:59:03 +02:00
|
|
|
"additionalProperties": false,
|
|
|
|
|
"required": [],
|
|
|
|
|
"properties": {
|
2021-10-11 18:13:12 +02:00
|
|
|
"priority": {
|
|
|
|
|
"$ref": "./types/priority.json"
|
|
|
|
|
},
|
2021-10-08 12:59:03 +02:00
|
|
|
"sound_interval": {
|
|
|
|
|
"type": "integer",
|
|
|
|
|
"default": 0,
|
2022-07-22 19:41:04 +02:00
|
|
|
"description": "The interval in which a sound will play when active in a 1/delay chance to kick off.",
|
2021-10-08 12:59:03 +02:00
|
|
|
"title": "Sound Interval"
|
|
|
|
|
}
|
2021-10-11 18:13:12 +02:00
|
|
|
},
|
|
|
|
|
"examples": [
|
|
|
|
|
{
|
|
|
|
|
"sound_interval": 0
|
|
|
|
|
}
|
|
|
|
|
]
|
2021-10-08 12:59:03 +02:00
|
|
|
}
|