Insomnia
Minecraft Wiki article. Categories: Set_index_pages
This article is reproduced from Insomnia on the Minecraft Wiki. Mirrored from revision 3703881. It is licensed CC BY-NC-SA 3.0 by the Minecraft Wiki contributors — not under the Codex’s CC BY-SA 4.0, and it may not be used commercially. Edits belong upstream, not here.
However, if an internal link incorrectly led you here, you may wish to change the link to point directly to the intended article.
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). In Java Edition, this value is specifically defined by the "Since last rest" statistic. It can be disabled with the command /gamerule spawn_phantoms false in Java Edition or /gamerule doinsomnia false in Bedrock Edition.
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 spawn_phantoms[Java Edition only] or/gamerule doinsomnia[Bedrock Edition only] – a game rule that enables or disables insomnia, and thus, phantom spawning.
Sources
- Insomnia — Minecraft Wiki, CC BY-NC-SA 3.0, revision 3703881.