This article is a stub.
You can help by expanding it.
Insomnia is a mechanic in Minecraft that allows phantoms to spawn around players that have not entered a bed or died for three in-game days (1 hour or 72000 ticks). This value is specifically defined by the "Since last rest" statistic and cannot be altered through commands.
Insomnia may refer to:
- Phantoms - phantoms may only spawn when a player has insomnia.
- Sleeping - Sleeping or entering a bed are methods to reset the insomnia counter.
/gamerule doInsomnia false- A gamerule that disables insomnia, and thus, phantom spawning./gamerule doInsomnia true- A gamerule that enables insomnia, and thus, phantom spawning.