minecraft-expanded-datapack/data/undeadm-core/functions/tick.mcfunction

21 lines
630 B
Mcfunction
Raw Permalink Normal View History

2021-02-20 11:10:44 +00:00
tellraw @a[scores={me-debugging=1..}] "undeadm-core:tick"
# self init
execute unless data storage undeadm-core:init {status:1} run function undeadm-core:init
## call other modules & optimization tick distribution
# combat module calls
2021-02-20 11:10:44 +00:00
execute if score $current me-core_tickC matches 1 run function undeadm-m1:hsec
execute if score $current me-core_tickC matches 11 run function undeadm-m1:hsec
function undeadm-m1:tick
# villager module calls
function undeadm-m2:tick
2021-02-20 11:10:44 +00:00
# manage assigners
execute if score $current me-core_tickC matches 10 run function undeadm-core:assigners
# manage scores
function undeadm-core:scoreboards