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

21 lines
630 B
Mcfunction

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
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
# manage assigners
execute if score $current me-core_tickC matches 10 run function undeadm-core:assigners
# manage scores
function undeadm-core:scoreboards