跳到正文

Sleep Anywhere

Sleep anywhere without a bed!

收藏

介绍

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

Sleep Anywhere

The Sleep Anywhere mod is a convenient addition to Minecraft that allows players to sleep anywhere they want without the need for a bed. Whether you’re exploring distant lands, delving into deep caves, or simply caught out in the wilderness at night, this mod lets you rest on the go.

Features

Singleplayer and Multiplayer compatible:

Both the server and client need to have the mod installed. The config of the server takes priority.

Counts towards sleeping players:

Sleeping on the ground is counted by the game just like sleeping in a bed, so the playersSleepingPercentage gamerule and the “x/y players are sleeping” message include you. If one player is enough to skip the night on your server, one player on the ground is enough.

Configurable Key Binding:

You can configure the key binding for sleeping according to your preference. By default, press ‘M’ to sleep.

Debuffs for Balance:

To maintain game balance and prevent abuse, the mod introduces configurable debuffs when sleeping. These debuffs include:

  • Hunger
  • Nausea
  • Blindness
  • Darkness
  • Mining Fatigue
  • Weakness
  • Slowness

Configuration

You can customize the effects of the Sleep Anywhere mod through its configuration file: adjust the duration in seconds and the level of the debuffs applied when sleeping, or disable them entirely if desired (by setting the duration to 0). Level 1 is the normal strength you would get from a potion. You can also set setSpawnPoint to true to have sleeping set your respawn point like a bed would, and sleepThroughThunderstorms to false to only allow sleeping at night.

On Fabric the file is located in .minecraft/config/sleepanywhere.json. On NeoForge it is located in .minecraft/config/sleepanywhere-common.toml, and can also be edited in game from the Config button on the mod’s entry in the mod list.

owo-lib is no longer required. Settings from older versions do not carry over, so check your config after updating.

Feedback and Support

If you encounter any issues or have suggestions for improving the Sleep Anywhere mod, feel free to reach out via GitHub Issues or leave a message in the comments.

License

All rights reserved. Modpacks are welcome: you may include the mod
unmodified in any pack, public or private, without asking.

常见问题

Sleep Anywhere 支持哪些 Minecraft 版本?

Sleep Anywhere 支持 Minecraft Java 版 1.20–26.3,共 8 个版本,可用的加载器:Fabric / Forge / NeoForge。下载时注意选择和你游戏版本一致的文件。

Sleep Anywhere 怎么安装?

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

评论

登录后评论和评分

BogdanValentin977 的其他作品

查看全部 →