execute positioned ^ ^ ^0.1 if block ~ ~ ~ air if block ~ ~1 ~ air if entity @s[distance=..3] run function mini:trade/game/villager_tp3 tp @s ~ ~ ~