Minecraft Data Packs / Game Mechanic

SLEEP DURING THE DAY! | Nap Time Data Pack 1.14+

  • check_circle Functions
  • 12,502 views, 7 today
  • 1,286 downloads, 1 today
  • 32
  • 27
  • 8
Lokeary's Avatar Lokeary
Level 53 : Grandmaster Crafter
65

The Nap Time Data Pack allows players to sleep when ever, and for how ever long they want! With an easy to use interface, players are able to pick the exact time they want to sleep until.

Please message me if you discover any bugs in the Data Pack so I can fix them.

Usage


What you need:
Once installed, all you need to start catching Z's is a bed of any color!

What you do:
Simply walk on top of the placed bed, (making sure you're standing on the half of the bed with the pillow texture.) and tap the crouch button. This will open the easy to use chat interface.
You'll see a message asking you how long you'd like to rest for, below it a default hour selection of 12:00 PM with small arrows to the top and bottom of it, and below that a button that reads [​Rest].
Keep in mind that any physical movement by the player when the interface is open will cause the interface to close. This is an intentional feature.


Changing The Sleep Time:
To change the default hour selection of 12:00 PM to your desired time, use the small arrows located at the top and bottom of the 12:00 PM.
The arrows above and below the 12:00 change the hour value. Example: 1:00, 2:00, 3:00 etc.
The arrow below the PM will change the PM to AM etc. For a list of Day/Night events and their times, click the link below.
https://minecraft.gamepedia.com/Day-night_cycle


Sleeping:
Once you've messed around a bit and want to change to your desired time of day or night, simply click the [​Rest] button.
You will be placed in the bed with a temporary Blindness effect to simulate sleeping. After about five seconds you will be placed back on the bed, and the time will change to whatever you've selected.


Installation

1:
Click the Download button located near the top of this page, and download the .zip folder.

2:

Unzip/Extract the .zip folder you've downloaded.


3:
Drag and drop the contents of the .zip folder to this directory:
.minecraft\saves\<World>\datapacks

4:

Load up the world you've added the data pack to in minecraft.


5:
Type /reload in chat.

Voila!


Details

I took a lot of time to make sure that the Nap Time Data Pack feels like it belongs in vanilla minecraft. I've gone the extra mile to add some details to help fit that feel.

Single player and Multiplayer compatibility:
The Nap Time data pack works the same way in single player or multiplayer.

You can not rest while monsters are nearby:
I've dome my best to recreate the feature of not being able to sleep when monsters are nearby, keeping the same affected mobs, and affected radius as normal.

Attempting to rest in The Nether/End will cause the bed to explode:
Just as trying to sleep in a bed in the Nether/End will cause the bed to explode, now clicking the [​Rest] button in those dimensions will do the same.

Resting doesn't set Spawn Point:
I wanted players to be able to Rest wherever they wanted without having to worry about wreaking their Spawn Point back home.


Recommended settings

These recommended in-game settings will help improve the immersion of the Nap Time data pack.

Chat Settings:

Scale: 100%

Text Background Opacity: 0%

Keep the rest on the default settings and you should be fine.
CompatibilityMinecraft 1.14
Tags

Create an account or sign in to comment.

N276
05/30/2021 4:40 pm
Level 1 : New Miner
N276's Avatar
Hello, when I sleep it says there are monsters nearby, even when on peaceful. We are on a 1.16.5 server. Is there a way to fix this
1
HugOak
08/16/2020 10:16 pm
Level 5 : Apprentice Miner
HugOak's Avatar
Hey, nice pack. Could you add some fatigue from lack of sleep to go with it? I was thinking about not sleeping after a full day gives you slowness I, weakness I, mining fatigue I and turns the natural regen off and after 3 days you get wither effect to death. How about making the same mechanic usable by crouching above the respawn anchor (just for the rest since the Nether has no daytime cycle - should not be possible in the overworld tho)? It would give it a use in hardcore and make it possible to rest in the Nether (by the way, the sleeping by crouching in bed shouldn't be possible in the Nether nor The End for obvious reasons).
1
skunkmunkee
11/06/2019 5:37 pm
Level 29 : Expert Dragonborn
skunkmunkee's Avatar
This should have been in Minecraft a long time ago! Thanks for making it a reality. I did a showcase video on my YouTube channel showing how great it is!
2
Lokeary
11/08/2019 7:48 pm
Level 53 : Grandmaster Crafter
Lokeary's Avatar
Yo, this honestly made my day! I used to review stuff in Minecraft and I always wondered what it would be like to have someone review a project that I made. Thank you!
1
SamBossX
10/01/2019 5:44 pm
Level 21 : Expert Miner
SamBossX's Avatar
can they remove phantomes?
2
Lokeary
10/02/2019 10:10 am
Level 53 : Grandmaster Crafter
Lokeary's Avatar
No. I wanted to add that feature, but as for as I can tell there's no way to reset the insomnia timer.
2
Craft
10/07/2019 4:33 am
Level 42 : Master Architect
Craft's Avatar
The Insomnia Bar and amount at least in 1.13 and on its release reset upon you finally sleeping, depending how high it got you might need to sleep two or three nights to clear it to empty so phantoms aren't so angry.



In the snapshots dying reset it back to neutral but It might be less than sleeping a full night after they rebalanced it. I wish they would Just add a Second Journal the player had inside his inventory that was like Red or Green and was by the character so you can view specifics about Insomnia, body height or effect amounts.
2
Daychilde
10/06/2019 7:16 pm
Level 1 : New Miner
Daychilde's Avatar
But this still makes life easier — just nap until dusk, then sleep "for real" :)
2
Planet Minecraft

Website

© 2010 - 2024
www.planetminecraft.com

Welcome