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