Replaces vanilla's terrible phantom spawning rules with an altitude-based approach. Fully configurable.
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 Fzzy Config. 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 won't attack the player until the player provokes them, and will spawn above the passive spawn start height, which is lower than the normal spawn start height by default. After defeating the Ender Dragon, phantoms will return to being aggressive on spawn. Phantoms which spawn in the End are always aggressive by default.
This feature is disabled by default.
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)