How do I make custom villager trades?

Started by TheTntExpert29 on Fri, 05/15/2020 - 01:33

Topic category: Help with MCreator software

Last seen on 18:42, 4. Jul 2020
Joined Apr 2020
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • Comments:
How do I make custom villager trades?
Fri, 05/15/2020 - 01:33

Hello, I am making a mod where I want to add a villager trade that uses my custom items, How do I make a custom Villager trade with the custom Items with the normal Minecraft Villagers? For the GUI and Mob.

Last seen on 22:50, 3. Jul 2020
Joined May 2020
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • Comments:
I think you need to edit…
Fri, 05/15/2020 - 04:35

I think you need to edit some kind of vanilla loot table for the villagers, not entirely sure how to do that though :/

Last seen on 00:44, 6. Jul 2020
Joined Mar 2020
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • Comments:
This will be simple, I’ve…
Fri, 05/15/2020 - 11:59

This will be simple, I’ve made it myself before, 

run a procedure for when right click on entity: open GUI:(the GUI).

And Then the button within the GUI sets of this procedure: If item in slot 0 is “example” Do: set item in slot 1 “example”. 

OR, for two items

item in slot 0 is “example” AND item in slot 1 is “example“ Do: set item in slot 2 “example”.

(keep in mind that the slots have to be going from 0 to 1/2 from left to right)

Last seen on 13:27, 26. Jun 2020
Joined Jun 2020
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • Comments:
Can u make a tutorial video…
Fri, 06/26/2020 - 12:11

Can u make a tutorial video or explain it better? Please

Last seen on 02:17, 6. Jul 2020
Joined May 2019
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • Comments:
you can also use Mojang's…
Fri, 06/26/2020 - 12:44

you can also use Mojang's vanilla villager AI