promotional bannermobile promotional banner

Can't Sleep (Fabric)

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

An unlucky night..

Description

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.

The Can't Sleep (Fabric) Team

profile avatar
  • 4
    Followers
  • 6
    Projects
  • 14.7K
    Downloads

More from cintreckView all

  • Real Serene Seasons project image

    Real Serene Seasons

    • 3.2K
    • Mods

    Makes Glitchfiend's Serene Seasons sync up with real time! Easily configurable.

    • 3.2K
    • October 7, 2025
    • Mods
    • +3
  • Horizon Fix project image

    Horizon Fix

    • 7.8K
    • Mods

    Fixes the ugly band at the sky horizon to make it completely smooth.

    • 7.8K
    • October 7, 2025
    • Mods
    • +3
  • Hardcore Darkness (Fabric) project image

    Hardcore Darkness (Fabric)

    • 2.2K
    • Mods

    Moon phases and pitch black caves for a more immersive and dangerous experience. Easily configurable.

    • 2.2K
    • October 7, 2025
    • Mods
    • +1
  • Only Vanilla Advancements project image

    Only Vanilla Advancements

    • 282
    • Mods

    Removes all non-vanilla advancements added by mods and datapacks. Easily configurable.

    • 282
    • October 2, 2025
    • Mods
    • +1
  • Real Serene Seasons project image

    Real Serene Seasons

    • 3.2K
    • Mods

    Makes Glitchfiend's Serene Seasons sync up with real time! Easily configurable.

    • 3.2K
    • October 7, 2025
    • Mods
    • +3
  • Horizon Fix project image

    Horizon Fix

    • 7.8K
    • Mods

    Fixes the ugly band at the sky horizon to make it completely smooth.

    • 7.8K
    • October 7, 2025
    • Mods
    • +3
  • Hardcore Darkness (Fabric) project image

    Hardcore Darkness (Fabric)

    • 2.2K
    • Mods

    Moon phases and pitch black caves for a more immersive and dangerous experience. Easily configurable.

    • 2.2K
    • October 7, 2025
    • Mods
    • +1
  • Only Vanilla Advancements project image

    Only Vanilla Advancements

    • 282
    • Mods

    Removes all non-vanilla advancements added by mods and datapacks. Easily configurable.

    • 282
    • October 2, 2025
    • Mods
    • +1