# This file was generated by Animated Java via MC-Build. It is not recommended to edit this file directly.
execute unless entity @s[tag=aj.spike.root] run return 0
execute if entity @s[tag=aj.spike.animation.retract.playing] run function animated_java:spike/animations/retract/zzz/on_tick
execute if entity @s[tag=aj.spike.animation.poke.playing] run function animated_java:spike/animations/poke/zzz/on_tick
execute if entity @s[tag=aj.spike.animation.spawn.playing] run function animated_java:spike/animations/spawn/zzz/on_tick
execute if entity @s[tag=aj.spike.animation.poke_2.playing] run function animated_java:spike/animations/poke_2/zzz/on_tick
execute on passengers if entity @s[tag=aj.spike.data] run function animated_java:spike/root/zzz/on_tick/locators_and_cameras
execute at @s on passengers run rotate @s ~ ~