Skip to content

Beds Spawn Phantoms

Encourages building a proper shelter around your bed instead of just placing it in the open

FabricNeoForgeForgeQuilt
Loaders
FabricNeoForgeForgeQuilt
Downloads on Modrinth
4.8K
Followers on Modrinth
18
versions
12
Updated
July 13, 2026Jul 13
Published
in 2025

At a glance

Runs on Fabric, NeoForge, Forge and Quilt
For Minecraft 1.19.1–26.2
Needed on the server; optional in the game
Latest version — 26.2+mod from July 13, 2026
License CC-BY-4.0 — free
Where it's needed
In gameoptionalOn serverrequired

Needed on the server; optional in the game

Game versions1.19.1–26.2

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.

On the other hand, that "difficult" moment usually ends up being sitting on a pillar doing nothing for 10 minutes. That's not difficult, just annoying.

This datapack/mod fixes this by making phantoms spawn when you sleep, so if your bed isn't protected, you will get attacked. By enouraging players to make a proper shelter, you can sleep when at home and safe (so night wouldn't pose a threat anyway) but not sleep when you're out in the open (where mobs can get you). Now, if night is likely to be a fun challenge, you're better off not sleeping, but if it will probably be boring, you should sleep instead.

Also useful for modpack authors or players who want to balance beds more so that you can't just plop a bed down in the middle of nowhere and skip the night.

TIP: If you want to turn off phantom spawning for when you DON'T sleep in a bed for 3 nights, turn off the doInsomnia gamerule either when creating a new world or with the command (requires cheats) /gamerule doInsomnia false.

(Alt text) A phantom hovers over a bed.

FAQ:

How do I use it?

When creating a new world, you can add datapacks through the menu.

Can I install it as a mod?

Sure, check the Versions page for downloads. This will make it install for every world instead of just whatever you put it in.

Safe to uninstall?

Yup! As a datapack, take the .zip out of your datapack folder. As a mod, remove the .jar from the mods folder.

Can I use this in Modpacks?

Sure! Just please leave credit :)

FAQ

How to install Beds Spawn Phantoms?

Install Fabric for your Minecraft version, download Beds Spawn Phantoms for the same version and loader, put the file into the mods folder and launch the game with the loader profile.

Which Minecraft versions does Beds Spawn Phantoms support?

Beds Spawn Phantoms has builds for Minecraft 1.19.1–26.2.

Is Beds Spawn Phantoms needed on the server?

Needed on the server; optional in the game

License and source
Creative Commons Attribution 4.0 Internationalfree to share with credit to the author and the license
Original — Modrinth↗Files unchanged, verified with SHA-512Is this your mod? For rights holders

The site uses cookies: the necessary ones for sign-in and the theme, plus the Yandex Metrica and LiveInternet visit counters — they show us how the site is used. We have no advertising cookies. More