Hello. I need to summon Villager through command block and "/summon" command with a trade "1x Charcoal -> 1x Stone" (Stone is only for example, the main is the charcoal).
This is my variant, but it creates only "coal -> Stone":
"summon Villager ~0 ~0 ~-2 {Offers:{Recipes:[{buy:{id: coal, Count:1}, sell:{id: stone, Count:1}, maxUses:3}]}}"
How should I change this command to create Villager with a "charcoal -> stone"?
The game version is 1.12.2
Please, help
Hello. I need to summon Villager through command block and "/summon" command with a trade "1x Charcoal -> 1x Stone" (Stone is only for example, the main is the charcoal).
This is my variant, but it creates only "coal -> Stone":
"summon Villager ~0 ~0 ~-2 {Offers:{Recipes:[{buy:{id: coal, Count:1}, sell:{id: stone, Count:1}, maxUses:3}]}}"
How should I change this command to create Villager with a "charcoal -> stone"?
The game version is 1.12.2
Please, help
Since in 1.12 charcoal is coal with a damage value you need to add a damage value. You command will become:
/summon Villager ~0 ~0 ~-2 {Offers:{Recipes:[{buy:{id: coal, Damage:1, Count:1}, sell:{id: stone, Count:1}, maxUses:3}]}}