I'm trying to figure out if you can still create custom villagers that sell custom potions such as speed 10.
/summon villager ~ ~1 ~ {Offers:{Recipes:[{buy:{id:acacia_planks,Count:1},sell:{id:potion,Count:1,tag:{Potion:"minecraft:water",CustomPotionEffect:[{Id:3,Amplifier:2,Duration:180}]}}}]}}
The villager spawns however, the trade is just a water bottle with no potion effect.
Best Answer
CustomPotionEffect
is not a valid NBT tag. The correct name isCustomPotionEffects
.Fixed command:
You must provide a villager profession to be able to trade with the villager.