# 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.last_gladiator.root] run return 0
execute unless score @s aj.is_rig_loaded matches 1 run function #animated_java:global/root/on_load
execute if entity @s[tag=aj.last_gladiator.animation.spawn.playing] run function animated_java:last_gladiator/animations/spawn/zzz/on_tick
execute if entity @s[tag=aj.last_gladiator.animation.idle.playing] run function animated_java:last_gladiator/animations/idle/zzz/on_tick
execute if entity @s[tag=aj.last_gladiator.animation.walk.playing] run function animated_java:last_gladiator/animations/walk/zzz/on_tick
execute if entity @s[tag=aj.last_gladiator.animation.run.playing] run function animated_java:last_gladiator/animations/run/zzz/on_tick
execute if entity @s[tag=aj.last_gladiator.animation.attack_string.playing] run function animated_java:last_gladiator/animations/attack_string/zzz/on_tick
execute if entity @s[tag=aj.last_gladiator.animation.ground_pound.playing] run function animated_java:last_gladiator/animations/ground_pound/zzz/on_tick
execute if entity @s[tag=aj.last_gladiator.animation.throw.playing] run function animated_java:last_gladiator/animations/throw/zzz/on_tick
execute if entity @s[tag=aj.last_gladiator.animation.jump_attack.playing] run function animated_java:last_gladiator/animations/jump_attack/zzz/on_tick
execute if entity @s[tag=aj.last_gladiator.animation.enrage.playing] run function animated_java:last_gladiator/animations/enrage/zzz/on_tick
execute if entity @s[tag=aj.last_gladiator.animation.chain.playing] run function animated_java:last_gladiator/animations/chain/zzz/on_tick
execute if entity @s[tag=aj.last_gladiator.animation.run_old.playing] run function animated_java:last_gladiator/animations/run_old/zzz/on_tick
execute if entity @s[tag=aj.last_gladiator.animation.stun.playing] run function animated_java:last_gladiator/animations/stun/zzz/on_tick
execute on passengers if entity @s[tag=aj.last_gladiator.data] run function animated_java:last_gladiator/root/zzz/on_tick/locators_and_cameras
execute at @s on passengers run rotate @s ~ ~