Can't Sleep (Fabric)
This mod introduces the concept of sleepless nights where your attempts to go to bed are interrupted by an insomnia message. By default, 15% of nights become sleepless for the player, forcing them to wait until morning without closing their eyes.
Modification Features
- Sleepless nights are distributed deterministically based on the world seed and day number, providing the same experience for all players on the server
- The probability of insomnia occurrence can be configured via the
config/cant_sleep.tomlfile or through a convenient configuration menu (with Mod Menu and Cloth Config installed) - The mod is compatible with all platforms supporting Fabric; it's sufficient to install it on the server for enforcement, and on clients for access to interface settings
Installation and Requirements
Required: Fabric and Fabric API. For access to settings through the in-game menu, it's recommended to additionally install Mod Menu and Cloth Config. The mod file in JAR format is placed in the mods/ folder on the server and, if necessary, on clients.
Building from Source
For self-building, Java 21, Gradle and Fabric Loom are required. Component versions are specified in the gradle.properties file. The build process is launched with the ./gradlew build command.
The mod is distributed under the CC0-1.0 license and can be freely used for any purposes.