1

Is there any way to use the scoreboard command to check if a player is sleeping

Yellowman28290's Avatar Yellowman282905/21/20 2:51 pm
6/8/2020 11:26 am
czromXL's Avatar czromXL
So uh When I make a quest system for my minecraft map im working on minecraft.used:minecraft.red_bed which detects when it's placed. Is there any scoreboard objective that detects sleeping. If so that would REALLY HELP
Posted by Yellowman28290's Avatar
Yellowman28290
Level 1 : New Miner
0

Create an account or sign in to comment.

2

1
06/08/2020 11:26 am
Level 25 : Expert Engineer
czromXL
czromXL's Avatar
yes, there is
I don't remember the name right now but it gives you every tick +1 score if you aren't in bed.
You can just do that every tick it'll test if number is 0 and if it is add 1 score to other scoreboard.
And if score is 1 or more you can add to reset the score of second command block to 0.
1
05/21/2020 2:52 pm
Level 1 : New Miner
Yellowman28290
Yellowman28290's Avatar
Leave any suggestions you think might work!
Planet Minecraft

Website

© 2010 - 2024
www.planetminecraft.com

Welcome