# This file was generated by Animated Java via MC-Build. It is not recommended to edit this file directly.
function animated_java:engineer_rc/animations/pause_all
tag @s add aj.engineer_rc.animation.animation_model_loop.playing
$scoreboard players set @s aj.tween_duration $(duration)
$scoreboard players set @s aj.animation_model_loop.frame $(to_frame)
scoreboard players operation #this aj.i = @s aj.tween_duration
tag @s add aj.transforms_only
execute at @s run function animated_java:engineer_rc/animations/animation_model_loop/zzz/apply_frame {frame: 0}
$execute at @s run function animated_java:engineer_rc/animations/animation_model_loop/zzz/apply_frame {frame: $(to_frame)}
tag @s remove aj.transforms_only
execute on passengers store result entity @s interpolation_duration int 1 run scoreboard players get #this aj.i