1
Hi, this is going to probably sound really stupid but I have waited for about 2 hours on minecraftforums.net with no response, so any ways I am making an adventure map and I have found most of the cod I need to spawn my villager but I need to be able to change the name of the item he is selling. this is what I have so far:
/summon Villager ~ ~4 ~ {Profession:1,CustomNameVisible:1,CustomName:"Harrold",Offers:{Recipes:[{maxUses:100000,buy:{id:319,Count:10},sell:{id:280,Damage:16418,Count:1}}]},Attributes:[{Name:generic.movementSpeed,Base:0}]}
But now I want to make the 'sell' item to have a custom name, (name is The Key of Chambers) how would I do this? thanks!
/summon Villager ~ ~4 ~ {Profession:1,CustomNameVisible:1,CustomName:"Harrold",Offers:{Recipes:[{maxUses:100000,buy:{id:319,Count:10},sell:{id:280,Damage:16418,Count:1}}]},Attributes:[{Name:generic.movementSpeed,Base:0}]}
But now I want to make the 'sell' item to have a custom name, (name is The Key of Chambers) how would I do this? thanks!
Create an account or sign in to comment.
3
1
YES! thankyou kolokkol that was correct. I have been looking for this for about 3 hours, Thanks so much!
1
I think it's this:
/summon Villager ~ ~4 ~ {Profession:1,CustomNameVisible:1,CustomName:"Harrold",Offers:{Recipes:[{maxUses:100000,buy:{id:319,Count:10},sell:{id:280,Damage:16418,Count:1,tag:{display:{Name:"The Key of Chambers"}}}}]},Attributes:[{Name:generic.movementSpeed,Base:0}]}
/summon Villager ~ ~4 ~ {Profession:1,CustomNameVisible:1,CustomName:"Harrold",Offers:{Recipes:[{maxUses:100000,buy:{id:319,Count:10},sell:{id:280,Damage:16418,Count:1,tag:{display:{Name:"The Key of Chambers"}}}}]},Attributes:[{Name:generic.movementSpeed,Base:0}]}
1
Im no expert but I think "Name:" Needs to be "display:{Name:"", Lore:[]}}"