Files
mob_expansion
Code
19 87
mob_expansion/data/mob_expansion/function/tick.mcfunction
scoreboard players add @e[tag=giant_chicken] nm_lay 1
execute as @e[tag=giant_chicken,scores={nm_lay=200..}] at @s run function mob_expansion:mob/giant_chicken_lay
execute as @e[tag=chickent] at @s run function mob_expansion:mob/chickent_tick
execute as @e[type=bee,tag=bee_friend] at @s run function mob_expansion:mob/bee_tick
execute as @e[type=arrow,tag=!mammoth_arrow] at @s if entity @e[type=skeleton,tag=mammoth,distance=..32] run tag @s add mammoth_arrow
execute as @e[type=arrow,tag=mammoth_arrow] at @s if entity @s[nbt={inGround:1b}] run function mob_expansion:mob/mammoth_arrow_explode
execute as @e[type=arrow,tag=mammoth_arrow] at @s if entity @e[type=!arrow,distance=..1] unless entity @e[type=skeleton,tag=mammoth,distance=..2] run function mob_expansion:mob/mammoth_arrow_explode