Can't Sleep (Fabric)
Can't Sleep adds unlucky nights where every attempt to use a bed is rejected with an insomnia warning. By default 15% of nights keeps a given player awake, forcing them to wait until morning.

Features
- Deterministic insomnia nights based on world seed and day so everyone shares the same sleepless experience.
- Configurable insomnia probability via
config/cant_sleep.tomlor the optional Mod Menu + Cloth Config screen. - Runs anywhere Fabric does; keep it on the server for enforcement and optionally on clients for UI tweaks only.
Install
- Requires Fabric and Fabric API.
- Optional UI: add Mod Menu and Cloth Config to expose the configuration in-game.
- Place the built jar in
mods/on the server (and clients if you want the config screen).
Build
- Java 21 with Gradle + Fabric Loom.
- Versions live in
gradle.properties. Run./gradlew build.
License
- CC0-1.0. Use it freely.
| Version | Minecraft | Loader | Download |
|---|---|---|---|
|
1.0.2 for Fabric 1.21.2–1.21.10 1.0.2 |
1.21.10, 1.21.2, 1.21.3, 1.21.4, 1.21.5, 1.21.6, 1.21.7, 1.21.8, 1.21.9
|
fabric
|
Download |
|
1.0.1 for Fabric 1.21.2–1.21.9 1.0.1 |
1.21.2, 1.21.3, 1.21.4, 1.21.5, 1.21.6, 1.21.7, 1.21.8, 1.21.9
|
fabric
|
Download |
|
1.0.0 for Fabric 1.21.2–1.21.8 1.0.0 |
1.21.2, 1.21.3, 1.21.4, 1.21.5, 1.21.6, 1.21.7, 1.21.8
|
fabric
|
Download |