
ModsJava
Can't Sleep
Some nights shows a message similar to "There are monsters nearby" and blocks sleep until the next day. Easily configurable.
⬇ Download on ModrinthCan'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.
Quick facts
- Edition: Minecraft Java
- File type: .jar
- Minecraft versions listed: 1.21.2, 1.21.3, 1.21.4
- How to install: Install the matching mod loader (Forge, Fabric or NeoForge) for your Minecraft version. → Download the .jar. → Put it in the .minecraft/mods folder and launch that loader profile.
- Where to get it: Opens on Modrinth — not every file is mirrored on our own servers.
Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.
Verified by MCModsHub
- Ships as cant-sleep-1.0.2.jar — drop this file into the mods folder
- Download size: 228 KB
- Download link checked 31 Aug 2026 — working
These come from our own check of the pack file, not from the source page.