summon zombie_villager ~ ~ ~ {VillagerData:{type:taiga,profession:armorer,level:99},IsBaby:0b,CanPickUpLoot:0b,Tags:[merchant_face,rare,plussed,spawnmerchant,hmmerchant,hmmerc,nopoly],equipment:{mainhand:{id:spyglass},head:{id:leather_helmet,components:{unbreakable:{}}}},drop_chances:{mainhand:0f,head:0f},attributes:[{id:"attack_damage",base:0f}],DeathLootTable:"survivalplus:entities/merchant"}
execute as @n[tag=hmmerchant,type=zombie_villager] run function survivalplus:merchants/hmmerchanttrades
#execute at @n[tag=spawnmerchant] run summon villager ~ ~ ~ {VillagerData:{type:plains,profession:nitwit,level:99},Offers:{},Invulnerable:1b,NoAI:1b,Silent:1b,Tags:[merchant,plussed,hmmerchant,hmmerc],Team:merchant,active_effects:[{id:invisibility,duration:-1,show_particles:0b}],equipment:{mainhand:{id:bundle},offhand:{id:glowstone}},drop_chances:{mainhand:0f,offhand:0f}}
#execute as @e[tag=hmmerc,type=villager] run function survivalplus:merchants/zommecherchanttrades
tag @e[tag=spawnmerchant] remove spawnmerchant
function survivalplus:mobs/vanish