Improved Sleep
设置符合你世界的睡眠规则。
一位朋友在建造,另一位在挖矿,而你希望天快亮。你可以选择需要多少玩家睡觉、世界何时醒来,以及入睡者是否获得小奖励——所有这些均可通过游戏内设置进行调整。
截图与设置指南 · 安装 · 由 Bearaujus 制作
功能特性
让一名入睡者即可推进夜晚
Mira 正在睡觉,Aldren 在一旁看守,而 Kael 保持清醒。只需一名入睡者,Improved Sleep 就能带来清晨,即使其他两人从未上床。
配置示例 · 需一名入睡者

之前:Mira 是唯一的上床睡觉的人。Aldren 在旁观看;Kael 保持清醒。仅需一名入睡者;奖励已关闭。

之后:同一个世界迎来了清晨。Aldren 和 Kael 根本不需要睡觉。
给入睡者一个帮忙的理由
可选地为在跳过夜晚成功时正在床上休息的玩家提供临时效果。你可以选择效果类型、等级和共享持续时间;奖励默认处于禁用状态。
可选示例 · 为一人启用速度 II 持续一分钟

另一个夜晚:Aldren 睡觉并获得了持续一分钟的速度 II 效果。奖励默认处于关闭状态。

睡觉后,Aldren 获得持续一分钟的速度 II 效果。Mira 和 Kael 保持清醒,未获得任何效果。
快速入门
Improved Sleep 可在搭载 Fabric 的 Minecraft Java Edition 中运行。不支持 Bedrock Edition。请根据你的 Minecraft 版本选择一个发布版;本页面的示例使用的是 26.3。
我单人游玩
- 为你的 Minecraft 版本安装 Fabric Loader。
- 将此模组和 Fabric API 放入游戏的
mods 文件夹。添加 Mod Menu 以使用上述的游戏内设置界面。
- 启动 Fabric 配置文件,打开你的世界,然后通过 Mods → 此模组 → Configure(配置)来选择你的设置。
我托管服务器
在服务器上安装 Fabric Loader,然后在此模组的 mods 文件夹中加入此模组和 Fabric API 并重启服务器。服务器将为加入的玩家提供共享功能。若要在游戏中编辑服务器设置,请在你的电脑上安装此模组、Fabric API 和 Mod Menu,然后以管理员权限加入。你也可以直接编辑服务器配置文件并重启服务器。
我加入他人的服务器
你无需安装客户端即可遵循服务器的睡眠规则或获得已启用的奖励。仅在电脑上安装此模组无法更改远程服务器的规则。希望在游戏中的服务器所有者也需要在其电脑上安装 Mod Menu。
兼容性
无论何处安装此模组,均需要 Fabric API。Mod Menu 是可选的,仅在你的电脑上运行。 在单人世界中,你的游戏同时也作为该世界的服务器运行,因此你可以使用共享功能并在本地编辑其设置。
可选配套模组:Sleep Wake-Up Notifier 添加了进度通知和早晨消息。Improved Sleep 控制机制与奖励;它本身并不添加这些通知。
逐功能安装参考
| 功能 |
单人游戏 |
多人游戏(服务器端模组) |
仅客户端安装 |
| 自定义睡眠阈值 |
当前世界 |
所有人遵循服务器阈值 |
不可用 |
| 夜间、白天及雷暴规则 |
当前世界 |
所有人遵循服务器睡眠规则 |
不可用 |
| 睡眠增益效果 |
当前世界的入睡者 |
服务器上的入睡者 |
不可用 |
| Mod Menu 服务器配置 |
当前世界 |
具备操作员权限者进行编辑 |
不可用 |
打造专属体验
设置固定数量或百分比阈值,分别为夜间、白天和雷暴制定规则,并启用可选奖励。Improved Sleep 仅包含世界设置;所有人都使用房主的规则。
- 在你的电脑上安装 Improved Sleep、Fabric API 和 Mod Menu 以打开设置界面。
- 在游戏过程中,打开 Mods → Improved Sleep → Configure(配置)。选择你想要更改的夜间、白天或雷暴规则。
- 按 Save(保存)应用更改。你控制自己的单人世界;编辑多人服务器则需要服务器端模组和操作员权限。
Mod Menu 是可选的客户端软件,也是主要的游戏内设置入口。在你的电脑上安装此模组、Fabric API 和 Mod Menu;打开 Mods,选择该模组,然后点击 Configure(配置)。
谁能更改什么? Server Config(服务器配置)控制的是由本次安装所托管的世界。你可以编辑单人世界;远程更改需要在服务器上安装模组并拥有操作员权限。其他玩家可以查看接收到的设置。从主菜单进入时,Server Config 编辑的是本地托管的默认值,而非远程服务器。
Improved Sleep 仅包含 Server Config(服务器配置)。不存在个人睡眠规则覆盖:所有人都使用房主的规则。仅在加入者的电脑上安装此模组无法更改远程服务器的睡眠行为。
保存并恢复。 更改在成功保存之前会保留为草稿。点击“完成”时,若存在未保存的草稿,会先进行确认。默认值重置仅修改草稿中的可编辑范围;按下“保存”后才会应用更改。请等待待处理的保存操作完成。如果权限或连接丢失,请先读取状态,并在重试前重新连接或恢复权限。
设置参考
服务器功能 · 世界
选择是否由 Enhanced Sleep(增强睡眠)控制世界机制。
默认值: 已启用。
禁用后将恢复 Minecraft 原版的睡眠规则,并防止自定义奖励生效。
夜间规则 · 世界
选择在夜间必须有多少名玩家睡觉,以及世界何时醒来。
默认值: 允许睡眠;唤醒目标为白天;固定数量 1(存储百分比 50)。
启用“允许睡眠”将显示唤醒目标和阈值控制选项。可选择“固定数量”(1–999,上限为符合条件的玩家数)或“百分比”(1–100,向上取整)。观察者不计入在内。仅选定的阈值控制生效。时间冻结可防止时间跳跃。
雷暴规则 · 世界
雷暴拥有独立的规则,适用于白天和夜晚。
默认值: 允许睡眠;唤醒目标为白天;固定数量 1(存储百分比 50)。
启用“允许睡眠”将显示唤醒目标和阈值控制选项。可选择“固定数量”(1–999,上限为符合条件的玩家数)或“百分比”(1–100,向上取整)。观察者不计入在内。仅选定的阈值控制生效。时间冻结可防止时间跳跃。
白昼规则 · 世界
选择玩家是否可以在白天打盹,以及何时醒来。
默认值: 禁止白天睡眠;唤醒目标为夜晚;固定数量 1(存储百分比 50)。
启用“允许睡眠”将显示唤醒目标和阈值控制选项。可选择“固定数量”(1–999,上限为符合条件的玩家数)或“百分比”(1–100,向上取整)。观察者不计入在内。仅选定的阈值控制生效。时间冻结可防止时间跳跃。
睡眠奖励 · 世界
当符合条件的时间跳跃成功时,仅向躺在床上且符合资格的玩家授予所选的临时效果。
默认值: 所有奖励关闭;共享持续时间为一分钟。当启用但未指定等级时,效果将使用其支持的最高原版等级。
持续时间范围为 1–99 分钟。每种效果都有独立的开关;多级效果在启用后会显示一个等级按钮。效果包括:速度、急迫、力量、跳跃提升、再生、抗性提升、火焰抗性、水下呼吸、隐身、夜视、生命提升、吸收、幸运、缓降、潮涌之力、海豚的恩惠、村庄英雄和鹦鹉螺之息。醒着的玩家以及被中断或处于时间冻结状态的睡眠不会获得奖励。
在你的世界中尝试
以下是使用现有控件的操作说明,而非预设按钮。
一名玩家睡觉;朋友继续建造
- 打开 Server Config(服务器配置)→ Sleep Rules(睡眠规则),并启用 Allow sleep at night(允许夜间睡眠)。
- 选择 Threshold mode(阈值模式):Fixed count(固定数量),将 Required sleeping players(所需睡眠玩家数)设置为 1,Wake on(唤醒时间)设为 Day(白天);然后 Save(保存)。
- 在本示例中保持奖励禁用。在夜间,一名玩家留在床上直到时间跳跃完成;其他朋友可以保持清醒。
你应该看到的效果: 一名符合条件的睡眠者将世界推进到早晨。在此示例中,没有人获得任何效果。
Settings example
Gameplay result
奖励睡觉的玩家
- 打开 Server Config(服务器配置)→ Sleep Rewards(睡眠奖励),并启用 Reward sleepers with Speed(用速度效果奖励睡眠者)。
- 选择等级 II,并将 Shared reward duration in minutes(共享奖励持续时间/分钟)设为 1,然后 Save(保存)。默认情况下奖励是关闭的。
- 在你躺在床上时完成一次夜间时间跳跃,然后打开物品栏。保持清醒的玩家不会获得奖励。
你应该看到的效果: 睡眠者获得持续一分钟的速度 II 效果。物品栏示例是在奖励授予一秒钟后截取的。
Settings example
Gameplay result
完整设置截图

Server Config,第 1 页:夜间和雷暴规则使用固定数量 1,并在白天唤醒。

Server Config,第 2 页:禁止白天睡眠;可选的速度 II 效果开启,持续一分钟。默认情况下奖励是关闭的。

Server Config,第 3 页:其他可选奖励效果及其可用等级。这些效果目前处于禁用状态。

Server Config,第 4 页:奖励列表的末尾,包括鹦鹉螺之息,可见 Save(保存)和 Done(完成)按钮。
配置文件
首次启动后,编辑 config/improved-sleep.json。文件编辑需要重启游戏或服务器;Mod Menu 中的更改在可编辑处立即生效。
Show the default improved-sleep.json
{
"schema_version": 1,
"server": {
"enabled": true,
"sleep_rules": {
"night": {
"allow_sleep": true,
"wake_target": "day",
"threshold": {
"mode": "fixed_count",
"percentage": 50,
"fixed_count": 1
}
},
"thunderstorm": {
"allow_sleep": true,
"wake_target": "day",
"threshold": {
"mode": "fixed_count",
"percentage": 50,
"fixed_count": 1
}
},
"day": {
"allow_sleep": false,
"wake_target": "night",
"threshold": {
"mode": "fixed_count",
"percentage": 50,
"fixed_count": 1
}
}
},
"rewards": {
"shared_duration_minutes": 1,
"entries": {
"speed": {
"enabled": false
},
"haste": {
"enabled": false
},
"strength": {
"enabled": false
},
"jump_boost": {
"enabled": false
},
"regeneration": {
"enabled": false
},
"resistance": {
"enabled": false
},
"fire_resistance": {
"enabled": false
},
"water_breathing": {
"enabled": false
},
"invisibility": {
"enabled": false
},
"night_vision": {
"enabled": false
},
"health_boost": {
"enabled": false
},
"absorption": {
"enabled": false
},
"luck": {
"enabled": false
},
"slow_falling": {
"enabled": false
},
"conduit_power": {
"enabled": false
},
"dolphins_grace": {
"enabled": false
},
"hero_of_the_village": {
"enabled": false
},
"breath_of_the_nautilus": {
"enabled": false
}
}
}
}
}
Bearaujus 的其他作品
在 Minecraft 合集 浏览所有 Bearaujus 模组、当前版本及安装链接。
更多适用于你的世界的 Fabric 模组:
支持与许可
请在 issues 报告问题。
Improved Sleep 根据 Bearaujus Proprietary License v1.0 分发。完整条款随下载的 jar 文件一同提供,位于 LICENSE.txt 中。
Improved Sleep 并非官方 Minecraft 内容,未获得 Mojang 或 Microsoft 的认可或与其有关联。
Improved Sleep
Set sleep rules that fit your world.
One friend is building, another is mining, and you want morning. Choose how many players must sleep, when the world wakes, and whether sleepers receive a small reward—all through in-game settings.
Screenshots and settings guide · Installation · Made by Bearaujus
Features
Let one sleeper keep the night moving
Mira sleeps while Aldren watches and Kael stays awake. With one required sleeper, Improved Sleep brings morning even though the other two never enter bed.
Configured example · one sleeper required

Before: Mira is the only sleeper. Aldren watches; Kael stays awake. One sleeper is required; rewards are off.

After: the same world reaches morning. Aldren and Kael never needed to sleep.
Give sleepers a reason to help
Optionally give temporary effects to the players who were in bed when the skip succeeded. Choose the effects, levels, and shared duration; rewards are disabled by default.
Optional example · Speed II enabled for one minute

A separate night: Aldren sleeps with Speed II enabled for one minute. Rewards are off by default.

After sleeping, Aldren receives Speed II for one minute. Mira and Kael stayed awake and received no effect.
Quickstart
Improved Sleep runs in Minecraft Java Edition with Fabric. Bedrock Edition is not supported. Choose a release for your Minecraft version; the examples on this page use 26.3.
I play solo
- Install Fabric Loader for your Minecraft version.
- Put this mod and Fabric API in your game’s
mods folder. Add Mod Menu for the in-game settings shown above.
- Launch the Fabric profile, open your world, then use Mods → this mod → Configure to choose your settings.
I host a server
Install Fabric Loader on the server, then put this mod and Fabric API in its mods folder and restart it. The server provides the shared features to joining players. To edit the server settings in game, install this mod, Fabric API, and Mod Menu on your computer too, then join with operator permission. You can also edit the server config file and restart the server.
I join someone else’s server
You do not need a client install to follow the server’s sleep rules or receive enabled rewards. Installing it only on your computer cannot change a remote server’s rules. Server owners who want in-game controls also install Mod Menu on their computer.
Compatibility
Fabric API is required wherever this mod is installed. Mod Menu is optional and runs on your computer. In a solo world, your game also runs the world’s server, so you can use the shared features and edit their settings locally.
Optional companion: Sleep Wake-Up Notifier adds progress notices and morning messages. Improved Sleep controls mechanics and rewards; it does not add those notifications itself.
Feature-by-feature installation reference
| Feature |
Singleplayer |
Multiplayer with server mod |
Client-only install |
| Custom sleep thresholds |
This world |
Everyone follows the server threshold |
Not available |
| Night, day, and thunderstorm rules |
This world |
Everyone follows the server sleep rules |
Not available |
| Sleep buffs |
Sleepers in this world |
Sleepers on the server |
Not available |
| Mod Menu Server Config |
This world |
Operator-permission edits |
Not available |
Make it yours
Set fixed-count or percentage thresholds, separate rules for nights, daytime and thunderstorms, and optional rewards. Improved Sleep has world settings only; everyone uses the host’s rules.
- Install Improved Sleep, Fabric API, and Mod Menu on your computer to open the settings.
- While playing, open Mods → Improved Sleep → Configure. Choose the night, daytime, or thunderstorm rule you want to change.
- Press Save to apply it. You control your solo world; editing a multiplayer server requires the server mod and operator permission.
Mod Menu is optional client software and the main in-game settings entry. Install this mod, Fabric API and Mod Menu on your computer; open Mods, select the mod, then Configure.
Who can change what? Server Config controls the world hosted by this installation. You can edit a solo world; remote changes require the mod on the server and operator permission. Other players can inspect received settings. From the main menu, Server Config edits local hosting defaults, not a remote server.
Improved Sleep has Server Config only. There are no personal sleep-rule overrides: everyone uses the host's rules. Installing it only on a joining computer cannot change a remote server's sleep behavior.
Save and recover. Changes stay in a draft until Save succeeds. Done asks before discarding an unsaved draft. Defaults resets the editable scope in the draft; press Save to apply it. Wait for pending saves to finish. If permission or connection is lost, read the status and reconnect or regain permission before retrying.
Settings reference
Server features · World
Choose whether Improved Sleep controls the world.
Defaults: Enabled.
Disabled restores Minecraft's sleep rules and prevents custom rewards.
Night rules · World
Choose how many players must sleep at night and when the world wakes.
Defaults: Sleep allowed; wake target Day; fixed count 1 (stored percentage 50).
Allow sleep reveals wake target and threshold controls. Choose Fixed count (1–999, capped to eligible players) or Percentage (1–100, rounded up). Spectators do not count. Only the selected threshold control is active. Frozen time prevents a time skip.
Thunderstorm rules · World
Thunderstorms use their own rule, during both day and night.
Defaults: Sleep allowed; wake target Day; fixed count 1 (stored percentage 50).
Allow sleep reveals wake target and threshold controls. Choose Fixed count (1–999, capped to eligible players) or Percentage (1–100, rounded up). Spectators do not count. Only the selected threshold control is active. Frozen time prevents a time skip.
Daytime rules · World
Choose whether players can nap during daytime and when they wake.
Defaults: Daytime sleep off; wake target Night; fixed count 1 (stored percentage 50).
Allow sleep reveals wake target and threshold controls. Choose Fixed count (1–999, capped to eligible players) or Percentage (1–100, rounded up). Spectators do not count. Only the selected threshold control is active. Frozen time prevents a time skip.
Sleep rewards · World
Grant selected temporary effects only to players in bed when an eligible time skip succeeds.
Defaults: All rewards off; shared duration one minute. When enabled without an explicit level, an effect uses its highest supported vanilla level.
Duration is 1–99 minutes. Each effect has its own toggle; multilevel effects have a level button that becomes available when enabled. Effects: Speed, Haste, Strength, Jump Boost, Regeneration, Resistance, Fire Resistance, Water Breathing, Invisibility, Night Vision, Health Boost, Absorption, Luck, Slow Falling, Conduit Power, Dolphin’s Grace, Hero of the Village and Breath of the Nautilus. Awake players and interrupted/frozen-time sleeps do not earn rewards.
Try it in your world
These are instructions using existing controls, not preset buttons.
One player sleeps; friends keep building
- Open Server Config → Sleep Rules and enable Allow sleep at night.
- Choose Threshold mode: Fixed count, set Required sleeping players to 1 and Wake on: Day; Save.
- Leave rewards disabled for this example. At night, one player stays in bed until the skip finishes; friends can remain awake.
What you should see: One eligible sleeper advances the world to morning. Nobody receives an effect in this example.
Settings example
Gameplay result
Reward the player who sleeps
- Open Server Config → Sleep Rewards and enable Reward sleepers with Speed.
- Choose level II and Shared reward duration in minutes: 1, then Save. Rewards are off by default.
- Complete a night skip while you are in bed, then open your inventory. Players who stay awake receive no reward.
What you should see: The sleeper receives Speed II for one minute. The inventory example is taken one second after the reward is granted.
Settings example
Gameplay result
Full settings screenshots

Server Config, page 1: night and thunderstorm rules use a fixed count of one and wake at day.

Server Config, page 2: daytime sleep off; optional Speed II for one minute on. Rewards are off by default.

Server Config, page 3: further optional reward effects and their available levels. These effects are disabled.

Server Config, page 4: the end of the reward list, including Breath of the Nautilus, with Save and Done visible.
Config file
After first launch, edit config/improved-sleep.json. File edits need a game or server restart; Mod Menu changes apply immediately where editable.
Show the default improved-sleep.json
{
"schema_version": 1,
"server": {
"enabled": true,
"sleep_rules": {
"night": {
"allow_sleep": true,
"wake_target": "day",
"threshold": {
"mode": "fixed_count",
"percentage": 50,
"fixed_count": 1
}
},
"thunderstorm": {
"allow_sleep": true,
"wake_target": "day",
"threshold": {
"mode": "fixed_count",
"percentage": 50,
"fixed_count": 1
}
},
"day": {
"allow_sleep": false,
"wake_target": "night",
"threshold": {
"mode": "fixed_count",
"percentage": 50,
"fixed_count": 1
}
}
},
"rewards": {
"shared_duration_minutes": 1,
"entries": {
"speed": {
"enabled": false
},
"haste": {
"enabled": false
},
"strength": {
"enabled": false
},
"jump_boost": {
"enabled": false
},
"regeneration": {
"enabled": false
},
"resistance": {
"enabled": false
},
"fire_resistance": {
"enabled": false
},
"water_breathing": {
"enabled": false
},
"invisibility": {
"enabled": false
},
"night_vision": {
"enabled": false
},
"health_boost": {
"enabled": false
},
"absorption": {
"enabled": false
},
"luck": {
"enabled": false
},
"slow_falling": {
"enabled": false
},
"conduit_power": {
"enabled": false
},
"dolphins_grace": {
"enabled": false
},
"hero_of_the_village": {
"enabled": false
},
"breath_of_the_nautilus": {
"enabled": false
}
}
}
}
}
More from bearaujus
Browse every Bearaujus mod, current version, and install link at the Minecraft collection.
More Fabric mods for your world:
- Dimension Notifier — Server-side dimension change notifications with action bar coordinates, chat broadcasts, and live Tab list labels.
- Death Respawn Notifier — Server-side death coordinates, respawn notifications, personal death-screen details, and live Tab list dead markers.
- Sleep Wake-Up Notifier — Live multiplayer sleep progress, wake-up notifications, custom bed messages, and morning broadcasts with Improved Sleep integration.
Support & license
Report issues at issues.
Improved Sleep is distributed under the Bearaujus Proprietary License v1.0. Full terms ship inside the downloaded jar as LICENSE.txt.
Improved Sleep is not official Minecraft content and is not endorsed by or associated with Mojang or Microsoft.
评论 0
登录后参与评分
还没有评论,来抢沙发吧