Adds a timer since last rested to see if phantoms should spawn.
Insomnia Properties
Name | Default Value | Type | Description | Example Values |
---|---|---|---|---|
days_until_insomnia | 3 | Decimal number | Number of days the mob has to stay up until the insomnia effect begins. | Player: 3 |
Samples
Player
"minecraft:insomnia": {
"days_until_insomnia": 3
}