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 26.2 Forge?

Updated 5 days ago
Best match for your filters v4.3.18+mod
Game version 1.21.10, 1.21.11, 1.21.6
Loader Fabric, Forge, NeoForge

Sleep v4.3.18+mod targets 1.21.10, 1.21.11, 1.21.6 with Fabric, Forge, NeoForge. 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, NeoForge
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 v4.3.18+mod need?

v4.3.18+mod on 26.2 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.

5555ff-lib Optional for Sleep v4.3.18+mod
optional
Matching file found Matched file: v1.1.5+mod

We only count dependency files that match this setup. A file for another loader does not fill the gap.

Before you install it

Add Sleep without breaking your instance.

Built for Sleep v4.3.18+mod on 26.2 Forge. Pick another file and the loader, install side or required mods may change.

  1. 01

    Stick to this file

    Use v4.3.18+mod. It targets 1.21.10, 1.21.11, 1.21.6 with Fabric, Forge, NeoForge; 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 v4.3.18+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

Time warps while player is sleeping

Features

1. Sleeping players are displayed over the hotbar

2. Change how many players have to sleep to skip the night in the config --> Default = 1

3. Configure a lot of sleep related things with the config

4. With my [Sleep Anytime You Want](https://modrinth.com/datapack/sleep-anytime-you-want) datapack/mod, you can sleep during any time of the day

5. Compatible with my [AFK Announcer](https://modrinth.com/datapack/afk-announcer) datapack/mod so players that are afk do not need to sleep to skip the night (you can change that with the config)

Showcase

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

Config

Run:

/trigger sleep.config

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

Config for 1.20.1:

Sleep Notifications

Control when you receive notifications about sleep:

/trigger sleep_notification set <value>

Where <value> can be:

  • 0 = Disabled (default)
  • 1 = Chat notification
  • 2 = Sound notification
  • 3 = Chat + sound notification

Required Players for Sleep

Set how many players need to sleep to activate the night skip:

/scoreboard players set &amount_to_sleep sleep.config <value>

Where <value> is the number of players required (default = 1)

Sleep Mode

Choose between night skip and time warp modes:

/scoreboard players set &time_control sleep.config <value>

Where <value> can be:

  • 0 = Night skip (default)
  • 1 = Time warp

Night Duration

Control how long a night should take:

/scoreboard players set &time_until_skip sleep.config <value>

Where <value> can be:

  • 1 = 2 seconds
  • 2 = 5 seconds (default)
  • 3 = 10 seconds

Uninstallation

To remove the datapack completely:

/function sleep:uninstall

 

Suggest a new datapack idea

 

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.