
Adjusted Phantom Spawns
Modify the conditions of phantom spawns with gamerules
About this Mod
Adjusted Phantom Spawns
A mod for modifying the conditions of Phantoms spawning.
Technical details
Phantom spawning has a global cooldown of 1–2 minutes (randomly reset after it runs out). This mod provides the gamerule phantomSpawningCooldownPercentage to modify this cooldown as a percentage of the vanilla value. Smaller cooldown values mean phantoms may spawn more often, while larger cooldown values mean phantoms may only spawn less frequently.
For each player, phantoms can only spawn if their "Time Since Last Rest" statistic exceeds 1 hour (72000 ticks or 3 in-game days). This mod provides the gamerule phantomSpawningThreshold to adjust the statistic according to a desired threshold value in ticks. Smaller threshold values mean phantoms may spawn after a shorter than regular amount of time has passed since a player has slept, making them have to sleep more often. Larger threshold values mean phantoms may only spawn after an extended amount of time, making players have to sleep less often.
The chance of phantoms spawning is also based on how much a player has exceeded the threshold. This chance is now also scalable with the phantomSpawningChancePercentage gamerule. Lower values mean less chance, and higher means more.
Usage
To change the phantom spawning cooldown:
/gamerule phantomSpawningCooldownPercentage <percentage - default is 100>
Warning
The cooldown can't be manually reset. Setting it to a high value might mean you will have to wait it out even if you set it to something lower afterwards.
To change the sleep threshold:
/gamerule phantomSpawningThreshold <ticks - default is 72000 - one day equals 24000>
To change the chance of phantoms spawning:
/gamerule phantomSpawningChancePercentage <percentage - default is 100>
Available Versions
How to Install Adjusted Phantom Spawns on Your Server
Order Server
Order a Minecraft Java server with at least 3 GB RAM (4 GB recommended).
Set fabric Loader
In the panel under "Egg", select the fabric loader and matching Minecraft version (1.21.10).
Install Mod
Open the mod browser in the dashboard and search for "Adjusted Phantom Spawns". Click "Install" – done! Alternatively, upload the .jar via SFTP to the /mods folder.
Compatibility
Mod Loaders
Minecraft Versions
1.21.10, 1.21.9, 1.21.8 (+15 more)
Server-side
✓ RequiredRecommended RAM
4 GB(min. 3 GB)Frequently Asked Questions
Adjusted Phantom Spawns server crashes on startup – what to do?
Most common cause: wrong fabric version or insufficient RAM. Check the server log (latest.log) for "OutOfMemoryError" or "Mixin" errors. With Mado Hosting: ensure at least 3 GB RAM is allocated and the loader matches the mod version (1.21.10). You can switch loaders with one click in the panel.
Is Adjusted Phantom Spawns compatible with fabric and neoforge?
Adjusted Phantom Spawns officially supports fabric, neoforge for Minecraft 1.21.10, 1.21.9, 1.21.8. The Mado dashboard automatically detects incompatible loader combinations.
Server lagging with Adjusted Phantom Spawns – how to optimize performance?
Recommended RAM: 4 GB (per 8 players). Use /spark profiler to check if Adjusted Phantom Spawns consumes the most tick time. Common fixes: reduce server view-distance to 8-10, install "performant" or "starlight" as supplementary mods on Forge. With Mado Hosting, your server runs on NVMe SSDs with dedicated CPU cores for minimal latency.
Similar Mods
Rent Modded Server
Install Adjusted Phantom Spawns with just one click on your server.