This site works best with JavaScript enabled. Please enable JavaScript to get the best experience from this site.
Hello guys,
at the moment i am making a map, in which i want to use coins. I generate those coins by using the command:
/give @p gold_nugget{ display: { Name:"{\"text\":\"Coin\",\"color\":\"gold\"}" } }.
The villagers are summoned by those commands:
/summon minecraft:villager ~ ~1 ~ {Invulnerable:1,PersistenceRequired:1,Silent:1,NoAI:1, CustomName:"{\"text\":\"Minenhändler\"}",Offers: { Recipes: [ { buy: { id:"gold_nugget", Count:3b, tag: { display: { Name:"{\"text\":\"Coin\",\"color\":\"gold\"}" } } }, sell: { id:"carrot", Count:5b },maxUses:10000000}, { buy: { id:"gold_nugget", Count:1b, tag: { display: { Name:"{\"text\":\"Coin\",\"color\":\"gold\"}" } } }, sell: { id:"rabbit", Count:1b },maxUses:10000000} ] } }
When i do summon a villager and give him the coins, he will trade, but if I drop the Coins once he does NOT trade them anymore.
Any ideas how that can happen and how i can avoid this?
Greetings, Knorke75
Hello guys,
at the moment i am making a map, in which i want to use coins. I generate those coins by using the command:
/give @p gold_nugget{ display: { Name:"{\"text\":\"Coin\",\"color\":\"gold\"}" } }.The villagers are summoned by those commands:
/summon minecraft:villager ~ ~1 ~ {Invulnerable:1,PersistenceRequired:1,Silent:1,NoAI:1, CustomName:"{\"text\":\"Minenhändler\"}",Offers: { Recipes: [ { buy: { id:"gold_nugget", Count:3b, tag: { display: { Name:"{\"text\":\"Coin\",\"color\":\"gold\"}" } } }, sell: { id:"carrot", Count:5b },maxUses:10000000}, { buy: { id:"gold_nugget", Count:1b, tag: { display: { Name:"{\"text\":\"Coin\",\"color\":\"gold\"}" } } }, sell: { id:"rabbit", Count:1b },maxUses:10000000} ] } }When i do summon a villager and give him the coins, he will trade, but if I drop the Coins once he does NOT trade them anymore.
Any ideas how that can happen and how i can avoid this?
Greetings, Knorke75