# 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.prison_crystal.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.prison_crystal.animation.loop.playing] run function animated_java:prison_crystal/animations/loop/zzz/on_tick
execute if entity @s[tag=aj.prison_crystal.animation.death.playing] run function animated_java:prison_crystal/animations/death/zzz/on_tick
execute on passengers if entity @s[tag=aj.prison_crystal.data] run function animated_java:prison_crystal/root/zzz/on_tick/locators_and_cameras
execute at @s on passengers run rotate @s ~ ~