forum Forumskeyboard_arrow_right Help keyboard_arrow_right computerJava Edition

Create Forum Thread
2

Advice about 1-player sleep for 1.15+?

2 emeralds5 replies203 views
moon_tea started 02/27/2020 10:45 pm
and replied 03/20/2020 7:42 am
Hey y'all - hope you're doing fantastic today!

So, I followed this tutorial and this command works great for the most part, with 2 exceptions:
https://www.youtube.com/watch?v=CEd7Hg06I4U

Exceptions:
- this machine causes thunderstorns. There is a kind of workaround, made by altering the first command to: /execute as @a[scores={sleeping=1}] run weather clear 15000
- also, there is 1 particular player that can't sleep at all. Not sure if this is even related.

Help? I'm basically looking for a different 1-player sleep command setup that anyone has used that they are happier with.

Thanks in advance!
Posted by avatar
moon_tea
Level 1 : New Explorer
1

comment Login or register to post a reply.

5 replies

1
03/20/2020 7:42 am
Level 1 : New Explorer
moon_tea
Protip -- add xisumavoid's datapack. https://vanillatweaks.net/picker/datapacks/
1
02/28/2020 2:27 am
Level 30 : Artisan Unicorn
HoboMaggot
All these commands are correct though.
These commands both clear weather and make night go by much more faster as intended and there is nothing about thunderstorms in the commands.

Also can you elaborate about the player who is unable to sleep?
1
02/28/2020 4:03 am
Level 1 : New Explorer
moon_tea
Thank you! Yes, everything is correct -- the commands work, its just that the strange weather is a side-effect. This same command set was used on a previous realm I was part of, and we had the same issue. Ironically, it helped us get a lot of skeleton horses!

I know nothing about said player -- just when they and thy alone sleep in a bed, the command doesn't move time forward like it does for the rest of us. They joined yesterday with 2 friends, and of the 3 of them only one has this issue.
2
02/28/2020 5:18 am
Level 30 : Artisan Unicorn
HoboMaggot
Im guessing the weather updates to a different one immediately after the weather resets. Minecraft should not do that, prob a bug.
For the players, if you are op, try doing
/scoreboard objectives set sidebar sleeping
this will make the scoreboard for sleeping players show up. If you see anything higher than 1 (like 2 or 3), reset their scores.

Also are you using these commands in command blocks?
If you are, are the blocks around worldspawn?
1
02/28/2020 9:47 pm
Level 1 : New Explorer
moon_tea
Thank you! Yes, that makes sense that its probably a bug. Ohhh, good idea about the sidebar! Thank you! And yes, the command blocks are at spawn, good call.

Thanks again, I will try this out!
Planet Minecraft Logo

Website

© 2010 - 2020
www.planetminecraft.com

Welcome