Advertisement
Guest User

One Player Sleeping [1.13 - Vanilla]

a guest
Sep 4th, 2018
2,705
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.39 KB | None | 0 0
  1. === SETUP ===
  2. /scoreboard objectives add sleeping minecraft.custom:minecraft.sleep_in_bed 1
  3. /scoreboard players add @a sleeping 0
  4.  
  5. === DETECTION ===
  6. /execute as @a[scores={sleeping=1}] run setblock X Y Z redstone_block
  7.  
  8. === RESET ===
  9. /scoreboard players set @a sleeping 0
  10. /time set 0
  11. /setblock ~ ~1 ~ air
  12. ====================
  13. Please watch my video for more information on setup
  14. ~Happy
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement