2021-10-08 12:59:03 +02:00
|
|
|
{
|
2021-10-08 13:04:13 +02:00
|
|
|
"$id": "blockception.minecraft.behavior.entities.minecraft.insomnia",
|
2021-10-08 12:59:03 +02:00
|
|
|
"description": "Adds a timer since last rested to see if phantoms should spawn.",
|
|
|
|
|
"type": "object",
|
2021-10-08 13:04:13 +02:00
|
|
|
"title": "Insomnia",
|
2021-10-08 12:59:03 +02:00
|
|
|
"additionalProperties": false,
|
|
|
|
|
"required": [],
|
|
|
|
|
"properties": {
|
|
|
|
|
"days_until_insomnia": {
|
|
|
|
|
"type": "number",
|
|
|
|
|
"default": 3,
|
|
|
|
|
"description": "Number of days the mob has to stay up until the insomnia effect begins.",
|
|
|
|
|
"title": "Days Until Insomnia"
|
|
|
|
|
}
|
2021-10-11 18:10:42 +02:00
|
|
|
},
|
|
|
|
|
"examples": [
|
|
|
|
|
{
|
|
|
|
|
"days_until_insomnia": 3
|
|
|
|
|
}
|
|
|
|
|
]
|
2021-10-08 12:59:03 +02:00
|
|
|
}
|