

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 datapack/mod, you can sleep during any time of the day
5. Compatible with my 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


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 notification2= Sound notification3= 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 seconds2= 5 seconds (default)3= 10 seconds
Uninstallation
To remove the datapack completely:
/function sleep:uninstall
How to Install Sleep (Datapack)
Sleep by Jodek is verified for Datapack, Fabric, Forge, Neoforge, Quilt across Minecraft versions 1.19, 1.19.1, 1.19.2, 1.19.3, 1.20, 1.20.1, 1.20.4, 1.20.5 (latest release: v4.4.0.0+mod, file size: 120 KB). Follow the steps below to install it safely from ModCraft.tv:
- Click the Download button above and select your Minecraft version (1.19, 1.19.1, 1.19.2, 1.19.3, 1.20, 1.20.1, 1.20.4, 1.20.5) and platform (Datapack, Fabric, Forge, Neoforge, Quilt).
- Make sure you have the compatible loader or environment installed for Datapack, Fabric, Forge, Neoforge, Quilt.
- Move the downloaded Sleep file into your Minecraft
.minecraft/saves/<world>/datapacksfolder and launch the game.
All Versions
+ Add Version| Name | Game version | Platforms | Published | Downloads | Actions |
|---|---|---|---|---|---|
| 2mo ago | 413 | ||||
| 2mo ago | 207 | ||||
| 2mo ago | 138 | ||||
| 2mo ago | 103 | ||||
| 2mo ago | 83 | ||||
| 2mo ago | 69 | ||||
| 2mo ago | 59 | ||||
| 2mo ago | 52 | ||||
| 2mo ago | 46 | ||||
| 2mo ago | 41 | ||||
| 2mo ago | 38 | ||||
| 2mo ago | 34 | ||||
| 2mo ago | 32 | ||||
| 2mo ago | 30 | ||||
| 2mo ago | 28 | ||||
| 2mo ago | 26 | ||||
| 2mo ago | 24 | ||||
| 2mo ago | 23 | ||||
| 2mo ago | 22 | ||||
| 2mo ago | 21 | ||||
| 2mo ago | 20 | ||||
| 2mo ago | 19 | ||||
| 2mo ago | 18 | ||||
| 2mo ago | 17 | ||||
| 2mo ago | 17 | ||||
| 2mo ago | 16 | ||||
| 2mo ago | 15 | ||||
| 2mo ago | 15 | ||||
| 2mo ago | 14 | ||||
| 2mo ago | 14 | ||||
| 2mo ago | 13 | ||||
| 2mo ago | 13 | ||||
| 2mo ago | 13 | ||||
| 2mo ago | 12 | ||||
| 2mo ago | 12 | ||||
| 2mo ago | 11 | ||||
| 2mo ago | 11 | ||||
| 2mo ago | 11 | ||||
| 2mo ago | 11 | ||||
| 2mo ago | 10 | ||||
| 2mo ago | 10 | ||||
| 2mo ago | 10 | ||||
| 2mo ago | 10 | ||||
| 2mo ago | 9 | ||||
| 2mo ago | 9 | ||||
| 2mo ago | 9 | ||||
| 2mo ago | 9 | ||||
| 2mo ago | 9 | ||||
| 2mo ago | 8 | ||||
| 2mo ago | 8 | ||||
| 2mo ago | 8 | ||||
| 2mo ago | 8 | ||||
| 2mo ago | 8 | ||||
| 2mo ago | 8 | ||||
| 2mo ago | 8 | ||||
| 2mo ago | 7 | ||||
| 2mo ago | 7 | ||||
| 2mo ago | 7 | ||||
| 2mo ago | 7 | ||||
| 2mo ago | 7 | ||||
| 2mo ago | 7 | ||||
| 2mo ago | 7 | ||||
| 2mo ago | 7 | ||||
| 2mo ago | 6 | ||||
| 2mo ago | 6 | ||||
| 2mo ago | 6 | ||||
| 2mo ago | 6 | ||||
| 2mo ago | 6 | ||||
| 2mo ago | 6 | ||||
| 2mo ago | 6 | ||||
| 2mo ago | 6 | ||||
| 2mo ago | 6 | ||||
| 2mo ago | 6 | ||||
| 2mo ago | 6 | ||||
| 2mo ago | 6 | ||||
| 2mo ago | 5 | ||||
| 2mo ago | 5 | ||||
| 2mo ago | 5 | ||||
| 2mo ago | 5 | ||||
| 2mo ago | 5 | ||||
| 2mo ago | 5 | ||||
| 2mo ago | 5 | ||||
| 2mo ago | 5 | ||||
| 2mo ago | 5 | ||||
| 2mo ago | 5 | ||||
| 2mo ago | 5 | ||||
| 2mo ago | 5 | ||||
| 2mo ago | 5 | ||||
| 2mo ago | 5 | ||||
| 2mo ago | 5 | ||||
| 2mo ago | 5 | ||||
| 2mo ago | 4 | ||||
| 2mo ago | 4 | ||||
| 2mo ago | 4 | ||||
| 2mo ago | 4 | ||||
| 2mo ago | 4 | ||||
| 2mo ago | 4 | ||||
| 2mo ago | 4 | ||||
| 2mo ago | 4 | ||||
|
R
[1.21]
|
2mo ago | 4 | |||
|
R
[1.21]
|
2mo ago | 4 | |||
| 2mo ago | 4 | ||||
| 2mo ago | 4 | ||||
| 2mo ago | 4 | ||||
| 2mo ago | 4 | ||||
| 2mo ago | 4 | ||||
| 2mo ago | 4 | ||||
| 2mo ago | 4 | ||||
| 2mo ago | 4 | ||||
| 2mo ago | 4 | ||||
| 2mo ago | 4 | ||||
| 2mo ago | 4 | ||||
| 2mo ago | 4 | ||||
| 2mo ago | 4 | ||||
| 2mo ago | 4 | ||||
| 2mo ago | 4 | ||||
| 2mo ago | 4 | ||||
| 2mo ago | 4 | ||||
| 2mo ago | 3 | ||||
| 2mo ago | 3 | ||||
| 2mo ago | 3 | ||||
| 2mo ago | 3 | ||||
| 2mo ago | 3 | ||||
| 2mo ago | 3 | ||||
| 2mo ago | 3 | ||||
| 2mo ago | 3 | ||||
| 2mo ago | 3 | ||||
| 2mo ago | 3 |
- .toml fix
- .toml fix
- 26.3 Update
- 26.3 Update
- 26.2 Update
- Fixed time warp not working as expected
- 26.2 Update
- Fixed time warp not working as expected
- Fixed issue with afk announcer compatibility
- Fixed issue with afk announcer compatibility
- Updated to use new daytime query format (26.1)
- Updated to use new daytime query format (26.1)
- initial value set fix
- config fix
- initial value set fix
- config fix
- Full library support
- Translations


