Sleep In Darkness
Sleep Darkness limits the bed to nights where the player's surroundings are truly dark, so sleeping needs a sheltered spot built for the purpose.
What it does
Sleep Darkness reads the actual light level at the bed and only lets a player sleep when it is dark enough. Light sources placed around the bed block sleep until they are removed, which turns lighting into a survival decision. Sleep Restriction Based Light Level is the feature the mod is built on, and the light checks also work in other dimensions.
The mod adds a new survival challenge in the Adventure category, touching base building and night-time routines. Its settings are configurable, so server owners can adjust how strict the light requirement is. Mods that adjust world lighting or add dimensions can change how the check behaves, which matters when a pack mixes several of them.
Sleep Darkness is released for Fabric, Forge and NeoForge, and it requires Balm on every loader, plus Fabric API on Fabric. It needs to be installed on both the client and the server, and the files cover game version 1.21.5 only. The mod is licensed as All rights reserved and is not open source, though its source code and issue tracker are publicly linked.
Key features
Light-based sleep
A bed can only be used for sleep when the light at its position is low enough, otherwise the attempt is refused.
Light sources block sleep
Torches and other light emitters placed near the bed prevent sleeping until they are removed or moved away.
Configurable strictness
Settings control the light threshold and related rules, so the requirement can be tuned for a world or a server.
Dimension-aware checks
Light level checks work in other dimensions too, so beds keep functioning as sleep points there.
Gallery
Compatibility
Latest build for each game version and loader.
Only full game releases are shown. This mod publishes no snapshot builds.
Requirements
Dependencies declared by the latest file for each loader.
Required 2
Use cases
Who it’s for: Players who want sleeping to depend on the environment, and server owners who want a configurable survival rule. Packs with lighting or dimension mods are a natural fit.
How it compares
Sleep Anywhere is a Fabric, Forge and NeoForge mod for 1.20 – 26.3, a client and server mod under All rights reserved and not open source, so it lets players sleep without the darkness requirement. Anti Darkness is a Fabric-only, client-side mod for 1.21.7 – 1.21.11 and is open source under the MIT License, so it changes what players see rather than the sleep rules. Sleep Darkness stays limited to 1.21.5.
| Mod | Loaders | Game versions | Environment | Updated |
|---|---|---|---|---|
| Sleep In Darkness | Fabric, Forge and NeoForge | 1.21.5 | Client and server | 2025-04-28 |
| Sleep Anywhere | Fabric, Forge and NeoForge | 1.20 – 26.3 | Client and server | 2026-09-19 |
| Anti Darkness | Fabric | 1.21.7 – 1.21.11 | Client-side only | 2026-08-14 |
Questions
Does Sleep Darkness need Balm?
Does the server need Sleep Darkness?
Which game versions are supported?
Can the light requirement be changed?
In the catalog
Sleep In Darkness is one of 19,031 Adventure mods on ModsFinder, and one of 10,052 Adventure mods for Fabric. 15,307 mods support Minecraft 1.21.5.
More from ISenseHostility
Similar mods
What the author says
Sleep in Darkness is a Minecraft mod that introduces a new survival challenge: players must be in a dark enough environment to sleep. This adds a new strategic element to base building and night-time survival. The mod is designed with maximum compatibility in mind, using Balm for seamless multi-loader support…
Official listing
- Modrinth page
- modrinth.com/mod/sleep-in-darkness
- Owner
- ISenseHostility
- Published
- 2025-04-28
- Updated on Modrinth
- 2025-04-28
- Facts verified
- 2026-10-15
