ModsFinder

Better Safe Bed

by frankV

Better Safe Bed lets a player sleep in a bed even when a hostile mob is nearby but cannot reach them, such as one in a cave beneath the base, beyond the walls or on the roof.

FabricForgeNeoForgeQuiltServer-side onlyMIT LicenseOpen source1.16.5 – 1.21.7

What it does

Vanilla Minecraft refuses to start sleep when a hostile mob sits within 8 blocks sideways and 5 blocks up or down from the bed, and shows the message that monsters are nearby. The player stays awake until those monsters leave or die, even when a wall separates them from the bed. The mod adds a further check for mobs in range, so the bed works when none of them can target the sleeper.

The mod is server-side only: the server runs it, and players connect without installing anything. It needs no client install unless it is used in single-player. Files are published for Fabric, Forge, NeoForge and Quilt, across 17 release versions in the 1.16.5 – 1.21.7 range, and the latest Fabric, NeoForge and Quilt files target 1.21.7.

The code is open source under the MIT License, and the source code and issue tracker are public. The first release came out on 2022-06-01 and the latest on 2024-11-03.

Key features

  1. Extra sleep check

    Beds accept sleep when monsters are close but unable to target the sleeper, such as behind a wall.

  2. Targeting-based check

    The added check looks at whether nearby mobs can actually target the player, not only at their distance.

  3. Vanilla rule kept

    Monsters that can reach the sleeper still block sleep, so the change only removes the blocker when it is safe.

  4. Server-side operation

    The change runs on the server, and clients need nothing unless the mod is used in single-player.

Compatibility

Latest build for each game version and loader.

1.21.x8 of 8 versions with builds
1.21.71.21.3-1Not available1.21.3-11.21.3-1
1.21.61.21.3-1Not available1.21.3-11.21.3-1
1.21.51.21.3-1Not available1.21.3-11.21.3-1
1.21.41.21.3-1Not available1.21.3-11.21.3-1
1.21.31.21.3-1Not available1.21.3-11.21.3-1
1.21.21.21-16Not available1.21-161.21-16
1.21.11.21-16Not available1.21-161.21-16
1.211.21-16Not available1.21-161.21-16
1.20.x4 of 4 versions with builds
1.20.41.20.4-14Not available1.20.4-141.20.4-14
1.20.21.20-91.20-91.20-91.20-9
1.20.11.20-91.20-91.20-91.20-9
1.201.20-91.20-91.20-91.20-9
1.19.x3 of 3 versions with builds
1.18.x1 of 1 version with builds
1.16.x1 of 1 version with builds
ReleaseBetaAlphaNot available

Only full game releases are shown. This mod publishes no snapshot builds.

Use cases

Base next to a cave

A bed set against a wall can be used while a mob lurks in a cave below the base.

Roof or outside walls

A monster on the roof or outside the walls no longer keeps the sleeper awake.

Who it’s for: Server owners and single-player players who build bases where hostile mobs spawn nearby but cannot reach the bed. Players who want the vanilla sleep rule unchanged should not use it.

How it compares

Full comparison

Let Me Sleep - Better Sleep Check is also server-side only and open source, but it is published for Forge and NeoForge, not Fabric or Quilt, across 1.18 – 1.21.1, and is licensed under the GNU General Public License v3.0 only. Survival Plus is a Fabric mod for client and server, open source under the Apache License 2.0, covering 1.20.2 – 1.21.10, so both sides must install it. Better Safe Bed reaches all four loaders across 1.16.5 – 1.21.7 and needs no client install.

ModLoadersGame versionsEnvironmentUpdated
Better Safe BedFabric, Forge, NeoForge and Quilt1.16.5 – 1.21.7Server-side only2024-11-03
Let Me Sleep - Better Sleep CheckForge and NeoForge1.18 – 1.21.1Server-side only2024-10-09
Survival PlusFabric1.20.2 – 1.21.10Client and server2026-03-10

Questions

Does Better Safe Bed need to be installed on clients?

No. It is server-side only, so players connect without it unless the mod is used in single-player.

Which loaders does Better Safe Bed support?

Fabric, Forge, NeoForge and Quilt. The latest Fabric, NeoForge and Quilt files target 1.21.7, and the latest Forge file targets 1.20.2.

Will monsters that can reach me still stop me sleeping?

Yes. The mod only adds an extra check, so monsters able to target the sleeper keep blocking sleep as in vanilla.

In the catalog

Better Safe Bed is one of 11,058 Mobs mods on ModsFinder, and one of 5,189 Mobs mods for Fabric. 13,697 mods support Minecraft 1.21.7.

More from frankV

All projects

Similar mods

What the author says

This mod solves the issue of being unable to sleep even when you are safe, due to a random mob lurking in the cave beneath your base, outside its walls or on its roof. Normally, if a "monster" is within 8 blocks horizontally and 5 blocks vertically from your bed, you will receive a message saying "You may not rest…
frankV, on the Modrinth page

Official listing

Owner
frankV
Published
2022-06-01
Updated on Modrinth
2024-11-03
Facts verified
2026-10-15

Tags