Compatibility
Minecraft: Java Edition
Platforms
Supported environments
Tags
Creators
Details
Better Safe Bed — Modern Port for Minecraft 26.3 (NeoForge)
Sleep peacefully even when monsters lurk nearby out of reach.
Normally, if a monster is within 8 blocks horizontally and 5 blocks vertically from your bed, you get "You may not rest now, there are monsters nearby" — even if that monster is in a cave beneath your base, outside its walls, or on its roof, and could never reach you.
This mod adds an extra check: a monster only prevents resting if it is actually targeting you. Sleep when you're safe.
Now with a modern port for Minecraft 26.3 (NeoForge) — server-side mechanism only, no GUI/render.
What it does
Monster.isPreventingPlayerRestreturns true only when the monster targets that specific player- Server-side; doesn't need to be on the client in multiplayer
Modern port notes (26.3)
- Single-mixin port, same behaviour as the original
- Built and verified in CI via GitHub Actions, including a headless runtime test that launches the client, joins a world, and quits cleanly
Installation
- Install NeoForge for Minecraft 26.3
- Drop
bettersafebed263-*-neoforge-*.jarinto yourmodsfolder
Original mod & credit
This is an unofficial modern port by Itamio of Better Safe Bed by frankV — the original (1.1M downloads on Modrinth) has not been updated to 26.3.
- Original mod: https://modrinth.com/mod/better-safe-bed
- Original source: https://github.com/frank89722/BetterSafeBed
- License: MIT (Copyright © 2023 frankV) — see
LICENSE
All credit for the original concept, design, and logic goes to
frankV. This port exists to bring it to Minecraft 26.3. See NOTICE.


