# 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.hoglin.root] run return 0
execute unless score @s aj.is_rig_loaded matches 1 run function #animated_java:global/root/on_load
function #animated_java:hoglin/as_root/pre_tick
execute if entity @s[tag=aj.hoglin.animation.start.playing] run function animated_java:hoglin/animations/start/zzz/on_tick
execute if entity @s[tag=aj.hoglin.animation.loop.playing] run function animated_java:hoglin/animations/loop/zzz/on_tick
execute if entity @s[tag=aj.hoglin.animation.end.playing] run function animated_java:hoglin/animations/end/zzz/on_tick
execute at @s on passengers run rotate @s ~ ~
function #animated_java:hoglin/as_root/post_tick