Back to mods
Can't Sleep (Fabric) project artwork

CurseForge · Minecraft mod

Can't Sleep (Fabric)

Some nights shows a message similar to "There are monsters nearby" and blocks sleep until the next day. Easily configurable.

Choose a version Pick your version below, then grab the matching file.

Quick answer

Which Can't Sleep (Fabric) release should I use?

Updated 1 year ago
Latest stable file 1.0.2 for Fabric 1.21.2–1.21.10
Game version 1.21.5, 1.21.8, 1.21.9
Loader Fabric

Can't Sleep (Fabric) 1.0.2 for Fabric 1.21.2–1.21.10 targets 1.21.5, 1.21.8, 1.21.9 with Fabric. The project page does not say whether this file belongs on the client, dedicated server, or both. All 1 required mods have matching files.

Where it goes

Is Can't Sleep (Fabric) required on the client, server, or both?

The project page does not say whether this file belongs on the client, dedicated server, or both.

Client Source doesn’t say
Dedicated server Source doesn’t say
Loader for this release Fabric
Required install it here Optional supported, not mandatory Not supported do not install here Source doesn’t say do not assume

The source does not explicitly classify this release as client-only or server-only.

What else does Can't Sleep (Fabric) 1.0.2 for Fabric 1.21.2–1.21.10 need?

1.0.2 for Fabric 1.21.2–1.21.10. Change the file and its required mods may change too.

All 1 required mods have matching files

Install Fabric API first. We found matching files for this game-version and loader setup. 1 comes through another mod in the chain.

3 listed on this file 1 pulled in by one of those mods
Fabric API Needed by Can't Sleep (Fabric) 1.0.2 for Fabric 1.21.2–1.21.10
required
Matching file found Matched file: [1.21.5] Fabric API 0.128.2+1.21.5
Mod Menu Optional for Can't Sleep (Fabric) 1.0.2 for Fabric 1.21.2–1.21.10
optional
Matching file found Matched file: v16.0.1 for 1.21.9
Text Placeholder API Needed by Mod Menu
pulled in
Matching file found Matched file: placeholder-api-2.8.2+1.21.10.jar

1 extra mod was pulled in by another dependency. Indented rows show who needs each one. We only count dependency files that match this setup. A file for another loader does not fill the gap.

Before you install it

Add Can't Sleep (Fabric) without breaking your instance.

Built for Can't Sleep (Fabric) 1.0.2 for Fabric 1.21.2–1.21.10. Pick another file and the loader, install side or required mods may change.

  1. 01

    Stick to this file

    Use 1.0.2 for Fabric 1.21.2–1.21.10. It targets 1.21.5, 1.21.8, 1.21.9 with Fabric; another release may have different loader, side or dependency requirements.

  2. 02

    Bring the mods it needs

    Install Fabric API first. We found matching files for this game-version and loader setup. 1 comes through another mod in the chain.

  3. 03

    Put it on the correct side

    The project page does not say whether this file belongs on the client, dedicated server, or both.

  4. 04

    Pick the file you checked

    Use the “Get this file” button beside 1.0.2 for Fabric 1.21.2–1.21.10. It opens that exact file at the source.

About this project

What does Can't Sleep (Fabric) add?

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.toml or 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.

Project description from CurseForge.

Pick your setup

Can't Sleep (Fabric) by Minecraft version and loader

Choose the version and loader you play, then open the matching release.

9 available setups

Check the dependencies, then try the file in a copied instance before changing a world you care about.

Recent files

Can't Sleep (Fabric) versions and loaders

3 of 3 releases match

Looking for an older file? The official CurseForge project page is in Resources.