Adding Enchants to Weapon Problem

Started by Lil Shoosh on Sat, 05/09/2020 - 05:32

Topic category: Help with modding (Java Edition)

Last seen on 19:33, 14. Dec 2020
Joined Apr 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Adding Enchants to Weapon Problem
Sat, 05/09/2020 - 05:32

So, Ive been trying to work on making a custom enchant table, that when a weapon is in the first slot, you can click a button, and it will add the enchant to the weapon in the second slot. However, when Im making the procedure for adding the enchant to the provided item, it says there's an item stack dependency problem. Does someone have an enchant procedure where this doesn't happen?

 

Thanks