#Project generated by Animated Java (https://animated-java.dev/)

schedule function hermit_crab:animation_loop 1t
scoreboard players set .aj.anim_loop aj.hermit_crab.animating 1
scoreboard players set .aj.animation aj.hermit_crab.animating 0
execute as @e[type=minecraft:marker,tag=aj.hermit_crab.root] run function hermit_crab:zzz/execute/23
execute if score .aj.animation aj.hermit_crab.animating matches 0 run function hermit_crab:zzz/execute/24