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
|
|
|
|
|
2021-02-28 08:47:34 +00:00
|
|
|
# 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
|
|
|
|
|
2021-02-28 08:47:34 +00:00
|
|
|
# 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
|