How to create custom villager trades?

Started by FG200 on

Topic category: Help with Minecraft modding (Java Edition)

Active 2 years ago
Joined May 2020
Points:
636

User statistics:

  • Modifications: 0
  • Forum topics: 2
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 2
How to create custom villager trades?

Hi, i need help about how to create custom villager trades, anyone knows?

Active 9 months ago
Joined Mar 2021
Points:
757

User statistics:

  • Modifications: 3
  • Forum topics: 22
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 87
Example : /summon villager ~…
Sun, 05/02/2021 - 12:34

Example : /summon villager ~ ~1 ~ {VillagerData:{profession:farmer,level:2,type:plains},Offers:{Recipes:[{buy:{id:emerald,Count:13},buyB:{id:diamond,Count:1},sell:{id:diamond_block,Count:1},maxUses:16}]}}

 

Active 2 years ago
Joined Feb 2019
Points:
751

User statistics:

  • Modifications: 0
  • Forum topics: 1
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 156
You could also use multiple…
Sun, 05/02/2021 - 17:16

You could also use multiple gui, but it would be very tedious.

 
Active 2 years ago
Joined May 2020
Points:
636

User statistics:

  • Modifications: 0
  • Forum topics: 2
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 2
Ok thanks to all! 
Sat, 05/22/2021 - 09:07

Ok thanks to all!