Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- === SETUP ===
- /scoreboard objectives add sleeping minecraft.custom:minecraft.sleep_in_bed 1
- /scoreboard players add @a sleeping 0
- === DETECTION ===
- /execute as @a[scores={sleeping=1}] run setblock X Y Z redstone_block
- === RESET ===
- /scoreboard players set @a sleeping 0
- /time set 0
- /setblock ~ ~1 ~ air
- ====================
- Please watch my video for more information on setup
- ~Happy
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement