
Modrinth · Minecraft mod
Beds Spawn Phantoms
Encourages building a proper shelter around your bed instead of just placing it in the open
Quick answer
Which Beds Spawn Phantoms release should I use?
Beds Spawn Phantoms 26.2+mod targets 1.21.10, 1.21.11, 1.21.9 with Fabric, Forge, NeoForge. Installation on the client is optional. Installation on the dedicated server is optional. No extra mods listed for this file.
Where it goes
Is Beds Spawn Phantoms required on the client, server, or both?
Installation on the client is optional. Installation on the dedicated server is optional.
The source marks this as usable on both the client and server.
What else does Beds Spawn Phantoms 26.2+mod need?
26.2+mod. Change the file and its required mods may change too.
This file does not list any required mods. Do not add a library just because a different file uses it.
This file does not list any required or optional mods.
Before you install it
Add Beds Spawn Phantoms without breaking your instance.
Built for Beds Spawn Phantoms 26.2+mod. Pick another file and the loader, install side or required mods may change.
- 01
Stick to this file
Use 26.2+mod. It targets 1.21.10, 1.21.11, 1.21.9 with Fabric, Forge, NeoForge; another release may have different loader, side or dependency requirements.
- 02
Bring the mods it needs
This file does not list any required mods. Do not add a library just because a different file uses it.
- 03
Put it on the correct side
Installation on the client is optional. Installation on the dedicated server is optional.
- 04
Pick the file you checked
Use the “Get this file” button beside 26.2+mod. It opens that exact file at the source.
About this project
What does Beds Spawn Phantoms add?
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.

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 :)
Project description from Modrinth.
Pick your setup
Beds Spawn Phantoms by Minecraft version and loader
Choose the version and loader you play, then open the matching release.
26.1.2
5 loader builds26.1.1
5 loader builds26.1-snapshot-11
5 loader builds26.1-snapshot-10
5 loader builds26.1-snapshot-9
5 loader builds26.1-snapshot-8
5 loader builds26.1-snapshot-7
5 loader builds26.1-snapshot-6
5 loader builds26.1-snapshot-5
5 loader builds26.1-snapshot-4
5 loader builds26.1-snapshot-3
5 loader buildsShowing the newest 12 of 57 game versions. Older files are in the list below.
Check the dependencies, then try the file in a copied instance before changing a world you care about.
Recent files
Beds Spawn Phantoms versions and loaders
26.2+mod
beds-spawn-phantoms-26.2.jar
13 Jul 2026
26.2+datapack
beds_spawn_phantoms_21_2.zip
13 Jul 2026
1.0.3+mod
beds-spawn-phantoms-1.0.3+datapack.jar
25 Mar 2026
1.0.3+datapack
beds_spawn_phantoms_21_1.zip
25 Mar 2026
1.0.2+mod
beds-spawn-phantoms-1.0.2+datapack.jar
20 Dec 2025
1.0.2+mod
beds-spawn-phantoms-1.0.2+datapack.jar
9 Nov 2025
1.0.2+mod
beds-spawn-phantoms-1.0.2.jar
3 Oct 2025
1.0.2+datapack
beds_spawn_phantoms_1_0_2.zip
3 Oct 2025
1.0.1+mod
beds-spawn-phantoms-1.0.1.jar
11 Aug 2025
1.0.1+datapack
beds_spawn_phantoms_1_0_1.zip
11 Aug 2025
1.0.0+mod
beds-spawn-phantoms-1.0.0.jar
26 Feb 2025
1.0.0+datapack
beds_spawn_phantoms.zip
26 Feb 2025
Looking for an older file? The official Modrinth project page is in Resources.