This mod changes how phantom spawning works. Phantoms now spawn only at high altitudes at night, regardless of whether you slept or not. Holding a phantom membrane in your hands prevents all phantom spawns. The goal is to replace the notoriously annoying vanilla spawn mechanics with non-intrusive and reliable spawn mechanics.
Fabric version requires Fabric API and owo-lib. Use Mod Menu to change settings in-game.
NeoForge version has no dependencies. Use the Mods screen to change settings in-game.
When enabled, the game attempts to spawn phantoms around the player at night time and when they're above the defined starting Y height. The chance that the spawn attempt will succeed is based on how much higher the player is above the starting Y height.
doInsomnia game rule to false still disables all phantom spawns1 - (startingYHeight / playerYPosition)Configuration options:
When enabled, phantoms will be unable to spawn if the player is holding any item defined as a repellent item in their main hand or off-hand.
Configuration options:
minecraft:phantom_membrane)