ModsFinder

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.

FabricClient and serverMIT LicenseOpen source1.20.1

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

  1. Spawn point restriction

    Specific restrictions can be set on how a bed is used to choose a spawn point.

  2. Allow spawn setting effect

    A status effect lets a player set the spawn point while sleeping.

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

1.20.11.0.0
ReleaseBetaAlphaNot available

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

Requirements

Dependencies declared by the latest file for each loader.

Required 1

Fabric APILightweight and modular API providing common hooks and intercompatibility measures utilized by mods using the Fabric toolchain.
Required

How it compares

Full comparison

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.

ModLoadersGame versionsEnvironmentUpdated
BedLockFabric1.20.1Client and server2025-01-21
Spawn UtilityFabric1.20.1Server-side only2024-07-13
Better-Multiplayer-SleepFabric1.21 – 26.1.2Not published2026-06-03

Questions

Does BedLock need Fabric API?

Yes. Fabric API is a required dependency and must be installed next to BedLock.

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

All projects

Similar mods

What the author says

enforceCalmnessEffect - requires Calmness effect to set a spawnpoint.
sashafiesta, on the Modrinth page

Official listing

Owner
sashafiesta
Published
2025-01-21
Updated on Modrinth
2025-01-21
Facts verified
2026-10-15

Tags