-4

I have a villager that has custom trades, in this case a gold ingot for a piece of paper. I would like the paper to have a custom name. How can I do this? I am in 1.14

  • 1
    There are lots of example commands online. Please read the tour, this is not a "do my project for me" site, instead we expect askers to do as much as they can themselves and only ask if they are stuck at a specific problem. – Fabian Röling Jun 9 at 21:20
1
/summon Villager X Y Z {Offers:{Recipes:[{buy:{id:"minecraft:gold_ingot"},sell:{id:"minecraft:paper",tag:{display:{Name:"\"Custom Name\"}}}}]}}
  • For what it's worth, I agree that "give me the code" questions are low quality, but they are on-topic and therefore should be answered. – pppery Jul 15 at 2:35
-1

Use a generator or read Minecraft wiki.

https://www.digminecraft.com/generators/villager_trade.php

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.