Hey everyone, I'm trying to create a custom villager using a command for Minecraft Java 1.20.4, but I'm running into an issue where the trades don't appear at all when I spawn the villager.
Here's the command I used (shortened for clarity):
css Copy Edit /summon villager ~ ~1 ~ {Profession:"minecraft:armorer",Offers:{Recipes:[{buy:{id:"diamond",Count:5},sell:{id:"netherite_sword",Count:1}}]}} The villager spawns just fine, but when I right-click them, no trade interface shows up. I'm not sure if something changed with the NBT format in recent updates, or if I’m missing a required tag.
Has anyone gotten custom villager trades to work in 1.20.4? If so, can you share a working example or point out what's wrong with mine?
Thanks in advance!
—SkyBlazerCraft golf hit Let me know if you'd like the thread styled for Bedrock Edition instead or if you want to include more specific trade options.