# This file was generated by Animated Java via MC-Build. It is not recommended to edit this file directly.
execute store result score @s aj.id run scoreboard players add aj.last_id aj.id 1
execute on passengers if entity @s[tag=aj.global.data] run function animated_java:shadow/zzz/1
tag @s remove aj.new
execute if data storage aj:temp args.variant run function animated_java:shadow/zzz/2
execute unless data storage aj:temp args.animation run function animated_java:shadow/set_default_pose
execute if data storage aj:temp args.animation run function animated_java:shadow/zzz/3 with storage aj:temp args
tp @s ~ ~ ~ ~ ~
execute at @s on passengers run rotate @s ~ ~
data modify entity @s teleport_duration set value 1
execute on passengers run data modify entity @s teleport_duration set value 1
function #animated_java:shadow/as_root/on_summon