Makes phantoms only spawn when you want them to.

Makes phantoms only spawn when you want them to.
Controlled Insomnia changes the spawning of phantoms to make sure they only spawn when you want them to.
Phantoms now only spawn when the player has the Insomnia effect applied. A Potion of Insomnia can be brewed with an eye blossom or an eye of ender depending on the version of Minecraft.
When a player has the Insomnia effect, they will not be able to sleep in a bed and phantoms will spawn around them following the same vanilla rules. Phantoms spawn in the sky at night every 1-2 minutes around players with Insomnia.
You are free to share, copy and redistribute this mod in any medium or format, including modpacks, adventure maps, and other creations made within Minecraft, as long as you respect the following conditions.
Conversation