Back to mods
Beds Spawn Phantoms project artwork

Modrinth · Minecraft mod

Beds Spawn Phantoms

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

Choose a version Pick your version below, then grab the matching file.

Quick answer

Which Beds Spawn Phantoms release matches 26.2 Forge?

Updated 4 months ago
Best match for your filters 26.2+mod
Game version 1.21.10, 1.21.11, 1.21.9
Loader Fabric, Forge, NeoForge

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.

Client Optional
Dedicated server Optional
Loader for this release Fabric, Forge, NeoForge
Required install it here Optional supported, not mandatory Not supported do not install here Source doesn’t say do not assume

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 on 26.2 Forge. Every mod below is checked against that same setup.

No extra mods listed for this file

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 on 26.2 Forge. Pick another file and the loader, install side or required mods may change.

  1. 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.

  2. 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.

  3. 03

    Put it on the correct side

    Installation on the client is optional. Installation on the dedicated server is optional.

  4. 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.

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

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.

285 available setups

Showing 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

1 of 12 releases match
Clear filters

Looking for an older file? The official Modrinth project page is in Resources.