1

Calling All command block fanatics!

spotexx's Avatar spotexx2/9/14 2:13 pm
1 emeralds 143 3
2/9/2014 2:36 pm
spotexx's Avatar spotexx
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!
Posted by spotexx's Avatar
spotexx
Level 1 : New Miner
0

Create an account or sign in to comment.

3

1
02/09/2014 2:36 pm
Level 1 : New Miner
spotexx
spotexx's Avatar
YES! thankyou kolokkol that was correct. I have been looking for this for about 3 hours, Thanks so much!
1
02/09/2014 2:28 pm
Level 27 : Expert Engineer
kolokkol
kolokkol's Avatar
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}]}
1
02/09/2014 2:25 pm
Level 11 : Journeyman Network
clock lord
clock lord's Avatar
Im no expert but I think "Name:" Needs to be "display:{Name:"", Lore:[]}}"
Planet Minecraft

Website

© 2010 - 2024
www.planetminecraft.com

Welcome