# This file was generated by Animated Java via MC-Build. It is not recommended to edit this file directly.
execute unless entity @s[type=minecraft:item_display,tag=aj.penguineer.root] run return run function animated_java:global/errors/function_not_executed_as_root_entity {'export_namespace': 'penguineer', 'function_path': 'animated_java:penguineer/variants/extra_cannons/apply'}
execute on passengers if entity @s[tag=aj.penguineer.bone.bottom_half] run function animated_java:penguineer/variants/extra_cannons/zzz/apply_to_bone_bottom_half
execute on passengers if entity @s[tag=aj.penguineer.bone.1] run function animated_java:penguineer/variants/extra_cannons/zzz/apply_to_bone_1
execute on passengers if entity @s[tag=aj.penguineer.bone.2] run function animated_java:penguineer/variants/extra_cannons/zzz/apply_to_bone_2
execute on passengers if entity @s[tag=aj.penguineer.bone.cannon] run function animated_java:penguineer/variants/extra_cannons/zzz/apply_to_bone_cannon
execute on passengers if entity @s[tag=aj.penguineer.bone.5] run function animated_java:penguineer/variants/extra_cannons/zzz/apply_to_bone_5
execute on passengers if entity @s[tag=aj.penguineer.bone.6] run function animated_java:penguineer/variants/extra_cannons/zzz/apply_to_bone_6
execute on passengers if entity @s[tag=aj.penguineer.bone.cannon_2] run function animated_java:penguineer/variants/extra_cannons/zzz/apply_to_bone_cannon_2
execute on passengers if entity @s[tag=aj.penguineer.bone.3] run function animated_java:penguineer/variants/extra_cannons/zzz/apply_to_bone_3
execute on passengers if entity @s[tag=aj.penguineer.bone.4] run function animated_java:penguineer/variants/extra_cannons/zzz/apply_to_bone_4
execute on passengers if entity @s[tag=aj.penguineer.bone.cannon_1] run function animated_java:penguineer/variants/extra_cannons/zzz/apply_to_bone_cannon_1
execute on passengers if entity @s[tag=aj.penguineer.bone.head] run function animated_java:penguineer/variants/extra_cannons/zzz/apply_to_bone_head
execute on passengers if entity @s[tag=aj.penguineer.bone.left_bottom_wing] run function animated_java:penguineer/variants/extra_cannons/zzz/apply_to_bone_left_bottom_wing
execute on passengers if entity @s[tag=aj.penguineer.bone.left_wing] run function animated_java:penguineer/variants/extra_cannons/zzz/apply_to_bone_left_wing
execute on passengers if entity @s[tag=aj.penguineer.bone.right_bottom_wing] run function animated_java:penguineer/variants/extra_cannons/zzz/apply_to_bone_right_bottom_wing
execute on passengers if entity @s[tag=aj.penguineer.bone.right_wing] run function animated_java:penguineer/variants/extra_cannons/zzz/apply_to_bone_right_wing
execute on passengers if entity @s[tag=aj.penguineer.bone.top_half] run function animated_java:penguineer/variants/extra_cannons/zzz/apply_to_bone_top_half
execute on passengers if entity @s[tag=aj.penguineer.bone.body] run function animated_java:penguineer/variants/extra_cannons/zzz/apply_to_bone_body
execute on passengers if entity @s[tag=aj.penguineer.bone.right_leg] run function animated_java:penguineer/variants/extra_cannons/zzz/apply_to_bone_right_leg
execute on passengers if entity @s[tag=aj.penguineer.bone.left_leg] run function animated_java:penguineer/variants/extra_cannons/zzz/apply_to_bone_left_leg
execute on passengers if entity @s[tag=aj.penguineer.bone.wrench] run function animated_java:penguineer/variants/extra_cannons/zzz/apply_to_bone_wrench
execute on passengers if entity @s[tag=aj.penguineer.bone.penguin] run function animated_java:penguineer/variants/extra_cannons/zzz/apply_to_bone_penguin
return 1