Compatibility
Minecraft: Java Edition
Platforms
Supported environments
Links
Creators
Details
️💤 About
Sleeping Overhaul 2 enhances everything revolving around sleep in Minecraft. Main feature is replacing skip-time with a timelapse, ability to rest in bed without sleeping, and optional removal of restrictions (e.g. allow beds in The Nether).
🐌 Timelapse slow? Try out Lithium (for NeoForge) or Canary (for Forge) for improved server performance.
See the "FAQ / Troubleshooting" section regarding performance for more tips and mods to try.
📜 Changelogs (Update history)
Spoiler
[✨ = New feature; 🛠️ = Fix or Correction; ❗ = Other change
2.1.0
[✨] Add support for custom mod-added beds (e.g. Hammocks from Comforts and Sleep Tight), see Compatibility and Known Issues section for details;[✨] Add support for sleeping in any dimension, and setting spawn in any dimension, both disabled by default;
[✨] Bed Rest can now block the effects of Poison, Wither or Hunger (the potion effect) (configurable, all enabled/blocked by default);
[❗] The config/option "sleepAttackedAction" was changed to "timelapseSleepersDirectDamageAction"; given the Poison/Wither/Hunger immunity options, this is now specific to *direct* damage against the player during Timelapse;
[❗] Now, if the player receives any damage at all while in bed (resting or timelapse), they will be removed from bed;
[🛠️] Fix Timelapse not stopping under certain situations;
[❗] [1.19.4+] Improve keyboard/chat functionality while in bed rest or timelapse. Now, to change focus to/from the Chat Box, the player must press Ctrl+Tab (prevents arrow key and tab conflict) and you can also click the chat box to re-focus it;
[🛠️] Fix chat box being non-focusable after pressing Sleep under bed rest;
[✨] Ability to wake from Timelapse at any time (by pressing Escape or the "Leave Bed" button which now remains on-screen)
[✨] Port to 1.21.1 (moved to NeoForge);
[🛠️] [MP] Timelapse will now respect sleep vote game rules properly, and message players at the right time (instead of on Bed Rest);
[❗] Do a partial screen dim when Bed Resting (can be adjusted or disabled);
[❗] Change "Not Possible Now" message to a more generic one rather than "only day/thunderstorms" (so it's less confusing for mod-added beds with different time rules);
[🛠️] [Forge] Fix mod not working on some specific Forge versions (apparently a jarjar bug, needed by MixinExtras);
[❗] Drop NeoForge for 1.20.1 support (it no longer exists);
[❗] SleepAction "SkipToDay" was renamed to "SkipTime" to avoid confusion;
[✨] Add Russian translation, thanks to mpustovoi @ GitHub;
[❗] Mixins re-organized and listed in JSON now, nicely-named so smart modpack creators can disable entire mixins if specific functions are not desired;
[🛠️] Various other compatibility fixes and improvements;
[❗] Fabric support dropped for technical reasons (see FAQ on mod description for why);
2.0.2
- Added versions for Fabric and NeoForge under 1.19.2, 1.19.4 and/or 1.20.1- Add client config for Timelapse cinematic type, reworked surface orbit returns as default
- Fix hand disappearing after timelapse in some cases (hopefully)
- Add death message(s) for player death during Timelapse
- Various minor performance optimizations and compatibility improvements
2.0.1
- Add some new timelapse-related config: "sleepAttackedAction" and "sleepPreventMagicDamage"- Fixed timelapse cinematic camera being left on in some cases (e.g. player dies while sleeping)
- Simplified the timelapse cinematic
- Misc. code optimizations to make future work easier
2.0.0
- Initial release of Sleeping Overhaul 2⭐ Highlights
⏩ Timelapse (fast-forward) the night away instead of skipping to day
The main feature of the mod, but optional (can be changed back to skip-to-day, or Nothing to turn off sleeping action completely)

...this is NOT a simulation - your computer will run the world as fast as it can!
🛏️ Rest in bed at any time
Players can lie down in a bed at any time, then only try to sleep with a button press or pressing ENTER (can be disabled if desired).

...by default (configurable), Bed Rest will prevent the effects of Poison, Wither and Hunger (the actual debuff) from affecting the player. If you've any more ideas for Bed Rest, please do share!
⭐ And more!
🌏 Optionally, the ability to rest/sleep in any dimension, including the Nether - no bed explosion (Note: May not work with custom mod-added beds);
🪦 Optionally, if the above is enabled, can also set spawn point in other dimensions (As above, may not work with custom mod-added beds);
🏘️ Multiplayer compatible! The playersSleepingPercentage gamerule will be fully respected, even during timelapse. Players who remain awake will (by default) be unable to move and temporarily invincible during the timelapse;
💬 [1.19.4+] Fixed bugs with arrow/tab navigation on the In-Bed Chat Screen, also allow refocus on chat box with a mouse click. See the config comment for full details (it can be disabled, just in case);
🏷️ All Features & Config
The mod aims to be as configurable as possible, everything can be disabled or configured. So here's a list of all config and their descriptive comments as of version 2.1.0.
sleepingoverhaul-server.toml:
Server config is global (applies to all players). Note: Under Forge (not NeoForge), this config will generate under "serverconfig" in your save/world folder after loading into it.
Spoiler
[general]
General features for the mod.sleepAction:
- The action to perform when all players are sleeping.
- Can be "Timelapse" (default), "SkipToDay" (vanilla) or "Nothing" (nothing will happen).
resetWeatherOnWake:
- If true, wil reset the weather if raining when players wake. Applies to Timelapse and SkipTime. Default is false.
[timelapse]
Features for the Timelapse sleepActionlogTimelapsePerformanceStats:
- If true (default), performance stats will be written to log on timelapse end (average TPS, total time, total ticks).
timelapseSleepersDirectDamageAction:
- The action to perform on a SLEEPING if they are attacked with DIRECT damage (not a potion/effect) during timelapse. Doesn't apply to Bed Rest.
- Can be "NoChange" (default), "InstantKill" or "Invincible".
noDamageToNonSleepers:
- For multiplayer. If true (default), players NOT sleeping will be invincible during Timelapse.
noMovementDuringTimelapse:
- For multiplayer. If true (default), players NOT sleeping will be unable to move during Timelapse.
disableNaturalSpawning:
- If true (default), natural spawning will be disabled during timelapse. Gives a minor speed boost.
disableLivingEntityTravel:
- If true, LivingEntity type mobs can not travel during timelapse. Gives a minor speed boost.
- Disabled by default since it could result in undesired loss, e.g. mobs drowning.
- Note that this won't apply to players, see noMovementDuringTimelapse for stopping player movement.
[bedRest]
Toggle and customize the Bed Rest feature herebedRestEnabled:
- Allows players to rest in a bed without sleeping, adding a 'Sleep' button next to 'Leave Bed'. Default is true.
bedRestScreenDimValue:
- How much to dim the screen when bed resting. A value below 10 or so will effectively disable the dim.
- This cannot be a client option because the value is used server-side too.
- Default is 30 for a slight but visible dim, range is 1 to 98
[bedEffectsAndDamage]
Customize damage/effect modifiers while bed resting or timelapse. Note that the player will always be kicked out of bed if any damage is allowed to happen.bedEffectNoPoison:
- If enabled, poison will not harm the player during bed rest or timelapse.
bedEffectNoWither:
- If enabled, wither will not harm the player during bed rest or timelapse.
bedEffectNoHunger:
- If enabled, hunger (effect) will not apply to the player during bed rest or timelapse.
[features]
Other featuresfeatureAllowAnyDimension:
- If true (not default), allows resting/sleeping in any dimension. Will also disable explosion on use.
- IMPORTANT - This will ONLY apply with vanilla and vanilla-like beds! Will not change spawn in other dimensions unless featureSetSpawnAnyDimension is also enabled.
featureSetSpawnAnyDimension:
- If enabled, resting/sleeping in a non-overworld bed can ALSO set the spawn to that bed.
- IMPORTANT - it will *overwrite* the overworld spawn point; it will NOT set per-dimension spawn points!
- Note that this option may or may not conflict with mod-added custom beds that differ to the vanilla Minecraft bed. This means that if this config is enabled, mod-added custom beds *may* still block it with their own config; or if disabled, mod-added beds *may* still allow setting spawn.
sleepingoverhaul-client.toml:
Client config is per-player when in multiplayer.
Spoiler
[clientGeneral]
General client-side settings.timelapseCameraType:
- Camera effect to use under Timelapse
- Can be "SurfaceOrbit" (default), "SurfaceRotation" or "None".
timelapseDimValue:
- Screen dim to use under Timelapse. The default value of 0 will remove the screen dim.
- Range is 0 to 100
bedRestWithChatEnter:
- If true (default), pressing enter on In Bed Chat Screen with zero chat text will also function as Sleep button.
- Requires bedRestEnabled in server config, does nothing otherwise.
inBedChatFixes:
- [1.19.4+ only] Enhances/fixes keyboard-navigation issues on the In-Bed chat screen. Summary:
- Allows to re-focus the chat box by clicking on it;
- Prevents arrow keys from changing focus away from chat box, use Ctrl+Tab to change focus instead;
- Prevents ENTER from sending a chat message unless the chat box is actually focused;
- Allows ENTER to actually work if one of the buttons is focused instead of the chat box.
You will probably want to keep this enabled because of the buttons we add to the screen, but it can be disabled in case there are mod conflicts.
✔️ Compatibility and Known Issues
Relevant for the latest version only (make sure you're up to date). Any issues may be fixed in future versions or may not, it depends how complicated/weird the other mods are.
Comforts
- Sleeping Bags are compatible with timelapse on all versions, but not bed rest (unless it is night time);
- Hammocks are compatible with bed rest and timelapse;
- Hammocks do not support the any-dimension feature: they are hard-coded to explode in the Nether (note that Sleeping Bags will simply not work rather than explode);
Sleep Tight
- Hammocks are compatible with bed rest and timelapse;
- It has it's own Bed Rest function - if left enabled you will see it's own screen before this one. So if you want to use Sleeping Overhaul bed rest features you will probably want to disable the Sleep Tight version of resting;
- Hammocks do not support the any-dimension feature: they are hard-coded to explode in the Nether;
General info
- If using Bed Rest and you try to Sleep at the wrong time, you'll see a generic "You cannot sleep here right now" message instead of a more specific message. This is the best that can be done since there's no way to actually query the applicable sleep times for custom beds;
- Bed Rest and Timelapse *should* be compatible with any mod-added bed unless they're very different to vanilla beds. If not, please report it here and I will see if I can support it;
- The feature to sleep or set spawn in any dimension will likely NOT be compatible with many mod-added beds - there probably isn't anything I can do about this but feel free to report and I'll check it out anyway;
- If you enable the feature to allow sleep/rest in any dimension, you'll be able to sleep in the Nether at any time - but you will still wake up at the next morning. Let me know if you want an option to disable this, I would've done it already but it's a little complicated and I don't know if anybody would mind;
⁉️ FAQ / Troubleshooting
Q. How fast/slow is Timelapse? Can you make it faster?
A. Not that I can find, no. It really depends on how fast your PC is and how busy your world is. But here are some things you can try, roughly ordered from easiest/most-simple to hardest/most-annoying:
- Install the mod Lithium (for NeoForge) or Canary (for Forge);
- Try out some more Performance mods from UsefulMods list, especially ones for "server" performance (remember - even a singleplayer game has an integrated server and will benefit from server-related performance mods);
- Set some of the "disabler" config options in the config, these can skip some game logic that you probably won't want during Timelapse anyway;
- Decrease your view/simulation distance (simulation distance in applicable MC versions is the one that counts, in earlier MC versions the simulation distance is the same as view distance);
- Overclock your CPU and/or RAM (I cannot help with this, it's a whole thing);
- Upgrade your PC.
Q. Can I use this in my modpack?
A. Of course! As long as you consider reporting any mod compatibility issues, and feature/config requests too 😁
Q. Can you translate to X language?
A. I personally only know English, you are welcome to create and submit translation for any language, or corrections to existing translations (you don't need to learn GitHub; just download the latest English language resource here, edit it, and share it with me in comments if you want) - thanks!
Q. Why was Fabric support dropped?
A. For technical reasons. Sadly, trying to fix bugs and support all features on Fabric was the reason why 2.1.0 update took WAY too long. The technical explanation is because of the reliance Fabric has on Mixins - while they're intended to be less intrusive than the (Neo)Forge apporach of code injection, in actual practice it ends up being far more intrusive to Fabric mods that need to use Mixins on the same areas of code that Fabric itself does (like Sleeping Overhaul, for sleep-related events). Sorry!



