Custom NPC trades

Started by jmanz7 on

Topic category: Help with Minecraft modding (Java Edition)

Joined Oct 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Custom NPC trades

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. 
 

Joined Aug 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • 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.

Joined Oct 2016
Points:

User statistics:

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

Thanks for the help guys