Перейти к содержимому
Mineforgian

Can't Sleep

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

Загрузки
845
Подписчики
6
Обновлён
7 октября 2025 г.
Лицензия
CC0-1.0

Опубликован 17 сентября 2025 г.

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.

An unlucky night..

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.

Ченджлог

1.0.2Релиз1.21.8, 1.21.9, 1.21.10 · 7 октября 2025 г.

Updated to 1.21.10

1.0.1Релиз1.21.7, 1.21.8, 1.21.9 · 2 октября 2025 г.

Updated to 1.21.9

1.0.0Релиз1.21.6, 1.21.7, 1.21.8 · 17 сентября 2025 г.

Created Can't Sleep with an optional config to configure the probability of insomnia for a given night.

Комментарии

Загружаем…