malloc-datapack/data/malloc/functions/ticks/tick.mcfunction

4 lines
265 B
Mcfunction
Raw Normal View History

2022-09-10 12:28:27 +00:00
execute if score m_everybody m_tick_seconds matches 20 run scoreboard players reset m_everybody m_tick_seconds
execute unless score m_everybody m_tick_seconds matches 20 run scoreboard players add m_everybody m_tick_seconds 1
schedule function malloc:ticks/tick 1t