跳到正文

Can’t Sleep

作者:cintreck

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

收藏

截图

介绍

中文介绍正在准备中,下面暂时显示原文。

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.

常见问题

Can’t Sleep 支持哪些 Minecraft 版本?

Can’t Sleep 支持 Minecraft Java 版 1.21.2–1.21.10,共 9 个版本,可用的加载器:Fabric。下载时注意选择和你游戏版本一致的文件。

Can’t Sleep 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:客户端 / 服务端。

评论

登录后评论和评分

cintreck 的其他作品

查看全部 →