BedLock
by sashafiesta
BedLock adds a gamerule and a pair of status effects that control whether a player can set a spawn point by sleeping in a bed.
What it does
A gamerule lets the world owner decide how bed-based spawn point setting behaves. Two status effects then apply to individual players: one allows setting the spawn point while sleeping, and the other forbids it. The Calmness effect is needed to set a spawn point while the restriction is active. BedLock requires Fabric API and runs on client and server, so both the server and every player need it. Files are published for Fabric only, for 1.20.1, with 1.0.0 as the latest build from 2025-01-21, released under the MIT License as open source.
Key features
Spawn point restriction
Specific restrictions can be set on how a bed is used to choose a spawn point.
Allow spawn setting effect
A status effect lets a player set the spawn point while sleeping.
Block spawn setting effect
A matching status effect stops a player from setting the spawn point while sleeping.
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 1
How it compares
Spawn Utility is a Fabric mod for 1.20.1 that is server-side only, with all rights reserved and no open source code. Better-Multiplayer-Sleep is Fabric-only, covers 1.21 – 26.1.2 and is open source under the MIT License.
| Mod | Loaders | Game versions | Environment | Updated |
|---|---|---|---|---|
| BedLock | Fabric | 1.20.1 | Client and server | 2025-01-21 |
| Spawn Utility | Fabric | 1.20.1 | Server-side only | 2024-07-13 |
| Better-Multiplayer-Sleep | Fabric | 1.21 – 26.1.2 | Not published | 2026-06-03 |
Questions
Does BedLock need Fabric API?
In the catalog
BedLock is one of 29,952 Game mechanics mods on ModsFinder, and one of 19,630 Game mechanics mods for Fabric. 34,764 mods support Minecraft 1.20.1.
More from sashafiesta
Similar mods
What the author says
enforceCalmnessEffect - requires Calmness effect to set a spawnpoint.
Official listing
- Modrinth page
- modrinth.com/mod/bedlock-mod
- Owner
- sashafiesta
- Published
- 2025-01-21
- Updated on Modrinth
- 2025-01-21
- Facts verified
- 2026-10-15
