Beds Spawn Phantoms
by tjb3171
Beds Spawn Phantoms changes when phantoms appear: players who sleep in a bed that is not protected may be attacked by them, which pushes builders to enclose their beds.
What it does
Phantoms are normally tied to a player who has gone several nights without sleep. This mod adds a spawn condition linked to sleeping in a bed, so a bed left open to the sky can draw phantoms during the night. The aim is to encourage players to build a proper shelter around the bed instead of placing it in the open, so a home is safe to sleep in and no longer poses a threat.
The mod is server required and client optional: the server must run it, while players may leave it out. It is published for Fabric, Forge, NeoForge and Quilt, and for Data pack servers. Game versions range 1.19.1 – 26.2 across 27 release versions, with snapshot builds also published. Its latest files are 26.2+mod for 26.2, dated 2026-07-13. The mod is released under the Creative Commons Attribution 4.0 license and is not open source, though its source code and issue tracker are public.
To turn phantom spawning off entirely, sleep in a bed for three nights, or set the doInsomnia gamerule to false. A new world created with cheats enabled can also change the gamerule with a command.
Key features
Shelter-based bed safety
Beds left exposed to the sky become a phantom risk, while a sealed bed area remains safe for sleeping.
Tuned nighttime difficulty
Phantoms stay a nighttime challenge, so skipping the night is not trivially free of consequence.
Data pack option
The same behavior is available as a data pack for servers that prefer not to install a mod.
Phantom spawn control
Players can turn phantom spawning off by sleeping in a bed for three nights, or through the doInsomnia gamerule.
Compatibility
Latest build for each game version and loader.
26.x4 of 4 versions with builds
1.21.x12 of 12 versions with builds
1.20.x7 of 7 versions with builds
1.19.x4 of 4 versions with builds
This mod also publishes snapshot builds. Snapshots are not shown in the matrix.
Use cases
Who it’s for: Server owners and modpack authors who want to keep phantoms as a threat around sleeping, and survival players who want to build a safe home.
Questions
Does Beds Spawn Phantoms need to be installed on the client?
Which loaders does Beds Spawn Phantoms support?
How can phantom spawning be turned off?
In the catalog
Beds Spawn Phantoms is one of 11,058 Mobs mods on ModsFinder, and one of 5,189 Mobs mods for Fabric. 13,894 mods support Minecraft 26.2.
More from tjb3171
Similar mods
What the author says
Beds are overpowered, but also vital for many players. The difficulty spike that is nighttime arguably plays a major part in keeping Minecraft interesting, especially the first few days, and being able to skip it feels upfair.
Official listing
- Modrinth page
- modrinth.com/mod/beds-spawn-phantoms
- Owner
- tjb3171
- Published
- 2025-02-26
- Updated on Modrinth
- 2026-07-13
- Facts verified
- 2026-10-15
