execute if entity @e[predicate=survivalplus:bushhat] as @e[predicate=survivalplus:bushhat] at @s run function survivalplus:tools/ability_hats/bushhat
execute if entity @e[predicate=survivalplus:illagerhat] as @e[predicate=survivalplus:illagerhat] at @s run function survivalplus:tools/ability_hats/illagerhat