execute if block ~ ~-.1 ~ #anvil if entity @n[type=item,nbt={Item:{count:1}},distance=...3,predicate=survivalplus:item/compass] run tag @n[type=item,nbt={Item:{count:1}},distance=...3,predicate=survivalplus:item/compass] add addingmeter
execute if entity @e[tag=addingmeter] run function survivalplus:tools/reforge/add/addmeter