execute if data entity @s {item:{id:"minecraft:golden_apple"}} run function survivalplus:finale/goldtree/fall
execute if data entity @s {item:{id:"minecraft:enchanted_golden_apple"}} run function survivalplus:finale/goldtree/fall
execute if data entity @s {item:{id:"minecraft:gold_nugget"}} run function survivalplus:finale/goldtree/grow
execute if data entity @s {item:{id:"minecraft:air"}} run function survivalplus:finale/goldtree/new