# This file was generated by Animated Java via MC-Build. It is not recommended to edit this file directly.
execute unless entity @s[type=item_display,tag=aj.catbomb.root] run return run function animated_java:global/errors/function_not_executed_as_root_entity {'export_namespace': 'catbomb', 'function_path': 'animated_java:catbomb/remove/this'}
function #animated_java:catbomb/as_root/on_remove
execute on passengers if entity @s[tag=aj.data] run function animated_java:catbomb/remove/zzz/0
execute on passengers run kill @s
kill @s