Custom NPC trades

Started by jmanz7 on Wed, 02/03/2021 - 05:16

Topic category: Help with modding (Java Edition)

Last seen on 18:37, 18. Feb 2021
Joined Oct 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Custom NPC trades
Wed, 02/03/2021 - 05:16

Tried to make a NPC that  trades but I don't know how to add my own enchantments to the trade.
what I mean is I want to put a emerald in and get enchanted book with my custom enchantment out. 
 

Last seen on 12:57, 25. May 2022
Joined Aug 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
The problem is that Mcreator…
Wed, 02/03/2021 - 07:20

The problem is that Mcreator doesn't distinc any enchanted book and, if you select that item, it will give you one that looks enchanted but is not. Maybe with procedures you can replace on player tick update the book without enchantment with one that you enchant with a procedure, or maybe you can enchant it on the NPC's procedure, i don't know.

Last seen on 18:37, 18. Feb 2021
Joined Oct 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Thanks for the help guys
Wed, 02/03/2021 - 18:01

Thanks for the help guys