SANDBOX — this is a test environment. No servers are actually deployed and no real payments are charged.
Source-checkedBuilding & decoration

Beds Spawn Phantoms

by tjb3171 · for Minecraft

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

4.8KDownloads
4 mo agoLast updated
CC-BY-4.0License
Data pack · Fabric +3Loaders

About Beds Spawn Phantoms

From Modrinth

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

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 :)

Highlights

From source data

Game versions

Supports 57 Minecraft versions, the newest being 26.2.

Loaders

Runs on Data pack, Fabric, Forge, NeoForge and Quilt.

Footprint

Rated a light load on a server.

Beds Spawn Phantoms on Nxeon

From our catalogue
One-click install
Supported on Nxeon Minecraft servers. We download it from Modrinth, place it, and restart the server.
Server side
Required on the server
Server type needed
Data pack, Fabric, Forge, NeoForge, Quilt
Server load
light
Smallest plan we suggest
Minecraft — 1.5 GB (2 GB RAM). This follows our own load rating above, not a benchmark.
Latest build
26.2+mod, released 2026-07-13

Game versions by loader

LoaderGame versionsNewest
Fabric1.19.4 to 26.2 (54 versions)26.2
Forge1.19.4 to 26.2 (54 versions)26.2
NeoForge1.19.4 to 26.2 (54 versions)26.2
Quilt1.19.4 to 26.2 (54 versions)26.2
Data pack1.21 to 26.2 (46 versions)26.2

From 5 recorded builds of Beds Spawn Phantoms.

Recent builds

BuildReleasedGame versionsLoaders
26.2+mod2026-07-131.21.9 to 26.2 (7 versions)Fabric, Forge, NeoForge, Quilt
26.2+datapack2026-07-131.21.9 to 26.2 (7 versions)Data pack
1.0.3+mod2026-03-251.21 to 26.1-snapshot-11 (43 versions)Fabric, Forge, NeoForge, Quilt
1.0.3+datapack2026-03-251.21 to 26.1-snapshot-11 (43 versions)Data pack
1.0.2+mod2025-12-201.19.4 to 1.21.11 (20 versions)Fabric, Forge, NeoForge, Quilt

Run Beds Spawn Phantoms on a Minecraft server

Pick a server or deploy a new one above; it is installed in one click.

What kind of mod it is

From the catalog
Listed on Modrinth as “Mods”

Building & decoration

Blocks, furniture, decorations and building tools.

Runs on your server

From source side support

Modrinth lists Beds Spawn Phantoms as required on the server. Check its Modrinth page to see whether players need it too.

Compatibility

Game
Minecraft
Loaders
Data packFabricForgeNeoForgeQuilt
Runs on
Serverrequired on the server
Game versions
26.2 and 56 earlier

Verified at the source

  • ✓ModrinthOfficial listing, checked 2026-10-17Open ↗
  • ✓Authortjb3171, as published on Modrinth
  • ✓LicenseCC-BY-4.0Free

Beds Spawn Phantoms, answered

Generated from the mod’s own source data.

Do my players need to install Beds Spawn Phantoms?

Modrinth lists Beds Spawn Phantoms as required on the server. Check its Modrinth page to see whether players need it too.

Which loaders does it support?

Data pack, Fabric, Forge, NeoForge and Quilt.

Is it free?

Yes. Beds Spawn Phantoms is free to download from Modrinth. Its license is CC-BY-4.0.

How do I add it to my Nxeon server?

Use “Add to a server” on this page, or open NxLabs from your dashboard. We install it, restart your server and switch it on.

NxLabs

Run Beds Spawn Phantoms on a Minecraft server.

Deploy in about a minute from $4.20 a month, then add Beds Spawn Phantoms in one click.