minecraft-datapacks/datapacks/1ps-1556049967/data/1ps/functions/internal_loop.mcfunction

4 lines
261 B
Mcfunction
Raw Normal View History

2019-09-13 17:17:05 +02:00
execute as @a[nbt={SleepTimer:1s}] run tellraw @a [{"selector":"@s","color":"yellow"},{"text":" is now sleeping ","color":"yellow"}]
execute as @a[nbt={SleepTimer:99s}] run function 1ps:skipday
execute if entity @a[nbt={SleepTimer:100s}] run weather clear 0