So I'm currently making an adventure map, and I need to add a custom villager trade. I have to have the item that the villager buys have a custom name, but whenever I add In the custom name tag thing, it just summons the villager with the trades, but the item that the villager is buying does not have a custom name. I know that all probably sounded confusing, but I'll post the command in here.
I need the dye to have the custom name "Dusk shard", but when I summon the villager it just appears as "Purple Dye". I'm pretty new to commands and such, and I would really appreciate some help with this. If you know what I could do to fix this, I would like it if you could let me know. Thanks!
Thanks man! Sorry that it took me so long to respond, but I really appreciate the help! From what you gave me, everything appears to work! Thanks again for helping me with my map. It really means a lot.
So I'm currently making an adventure map, and I need to add a custom villager trade. I have to have the item that the villager buys have a custom name, but whenever I add In the custom name tag thing, it just summons the villager with the trades, but the item that the villager is buying does not have a custom name. I know that all probably sounded confusing, but I'll post the command in here.
/summon villager 40 22 -362 {Invulnerable:1,PersistenceRequired:1,NoAI:1,CustomName:"Rare artifacts guy",Offers:{Recipes:[{buy:{id:dye,Damage:5,Count:35,display:{Name:"Dusk shard"}},sell:{id:iron_sword,Count:1},maxUses:9999999}]},Profession:0,Career:1,CareerLevel:3}
I need the dye to have the custom name "Dusk shard", but when I summon the villager it just appears as "Purple Dye". I'm pretty new to commands and such, and I would really appreciate some help with this. If you know what I could do to fix this, I would like it if you could let me know. Thanks!
Thanks man! Sorry that it took me so long to respond, but I really appreciate the help! From what you gave me, everything appears to work! Thanks again for helping me with my map. It really means a lot.