execute if entity @e[type=villager,name="Minemart Teleporter Guide",distance=..3.5,predicate=minemart:minemart_dimension] run function minemart:teleporter/success
execute if entity @e[type=villager,name="Minemart Teleporter Guide",distance=..3.5,predicate=minemart:minemart_dimension] run title @s subtitle {"text":"Teleporting to the Building Blocks store...","color":"green"}
execute if entity @e[type=villager,name="Minemart Teleporter Guide",distance=..3.5,predicate=minemart:minemart_dimension] run tag @s add minemartteleporter_building_blocks