Back to mods
Sleep project artwork

Modrinth · Minecraft mod

Sleep

One player sleep by default, or set how many players must sleep to skip the night. Shows who is sleeping above the hotbar

Choose a version Pick your version below, then grab the matching file.

Quick answer

Which Sleep release matches 1.20.6 Forge?

Updated today
Best match for your filters v.2.3.1+mod
Game version 1.20.5, 1.20.6
Loader Fabric, Forge, Quilt

Sleep v.2.3.1+mod targets 1.20.5, 1.20.6 with Fabric, Forge, Quilt. Installation on the client is optional. Installation on the dedicated server is optional. No extra mods listed for this file.

Where it goes

Is Sleep required on the client, server, or both?

Installation on the client is optional. Installation on the dedicated server is optional.

Client Optional
Dedicated server Optional
Loader for this release Fabric, Forge, Quilt
Required install it here Optional supported, not mandatory Not supported do not install here Source doesn’t say do not assume

The source marks this as usable on both the client and server.

What else does Sleep v.2.3.1+mod need?

v.2.3.1+mod on 1.20.6 Forge. Every mod below is checked against that same setup.

No extra mods listed for this file

This file does not list any required mods. Do not add a library just because a different file uses it.

This file does not list any required or optional mods.

Before you install it

Add Sleep without breaking your instance.

Built for Sleep v.2.3.1+mod on 1.20.6 Forge. Pick another file and the loader, install side or required mods may change.

  1. 01

    Stick to this file

    Use v.2.3.1+mod. It targets 1.20.5, 1.20.6 with Fabric, Forge, Quilt; another release may have different loader, side or dependency requirements.

  2. 02

    Bring the mods it needs

    This file does not list any required mods. Do not add a library just because a different file uses it.

  3. 03

    Put it on the correct side

    Installation on the client is optional. Installation on the dedicated server is optional.

  4. 04

    Pick the file you checked

    Use the “Get this file” button beside v.2.3.1+mod. It opens that exact file at the source.

About this project

What does Sleep add?

Sleep

Join Jodek's Datapacks on Discord    Jodek on YouTube    Report a bug or issue on Codeberg    Support Jodek on Ko-fi

Skip the night without everyone having to sleep, with a display showing who's sleeping

Time warps while player is sleeping

Features

Shows whos sleeping above the hotbar

A fixed number of players (default 1) or a percentage of players has to sleep

Night Skip (night ends instantly, like vanilla) and Time Warp (time visibly speeds up)

Optional tick accelerate during Night Warp (lets crops grow and furnaces smelt faster)

AFK Players can be ignored (with AFK Announcer)

Players not in the Overworld can be ignored

Config

Run:

/trigger sleep.config
Setting Options Default
Skip condition Amount of players / Percentage Amount
Players required 1–100 1
Percentage required 0–100 % 50 %
Time control Night Skip / Night Warp Night Skip
Time until skip 1–100 s 5 s
Tick accelerate On / Off Off
AFK players don't need to sleep On / Off Off
Players in other dimensions don't need to sleep On / Off Off

For the tick accelerate setting you have to set function-permission-level to 3

Showcase

Shows whos sleeping above the hotbar

"(Player name) is sleeping" above hotbar when a player is sleeping

"(Player name) and (Player name) are sleeping" above hotbar when a player is sleeping

"(Player name) and 3 more players are sleeping" above hotbar when a player is sleeping

Compatible Projects

AFK Manager  
Sleep Anytime You Want

 

Suggest a new datapack idea

 

Config for 1.21.1

Change a value with this command:

/data modify storage sleep:root data.<setting> set value <value>

whole numbers only

Setting Storage key Values Default
Skip condition percentage_mode 0 = Amount of players, 1 = Percentage of players 0
Players required amount_to_sleep 1–100 1
Percentage required percentage_to_sleep 0–100 (%) 50
Time control time_control 0 = Night Skip, 1 = Night Warp 0
Time until skip time_until_skip 1–100 (seconds) 5
Tick accelerate tick_accelerate 0 = Off, 1 = On 0
AFK players don't need to sleep afk_players_sleep 0 = Off, 1 = On 0
Players in other dimensions don't need to sleep dimension_sleep 0 = Off, 1 = On 0

For the tick accelerate setting you have to set function-permission-level to 3

Show the current config:

/data get storage sleep:root data

Reset all settings to their defaults:

/function sleep:config/reset_config

Project description from Modrinth.

Pick your setup

Sleep by Minecraft version and loader

Choose the version and loader you play, then open the matching release.

118 available setups

Showing the newest 12 of 25 game versions. Older files are in the list below.

Check the dependencies, then try the file in a copied instance before changing a world you care about.

Recent files

Sleep versions and loaders

1 of 100 releases match
Clear filters

Looking for an older file? The official Modrinth project page is in Resources.