Help with an enchantment transfer table

Started by blahblahbal on Sat, 06/05/2021 - 18:14

Topic category: Help with MCreator software

Last seen on 17:05, 16. Jul 2021
Joined Jan 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Help with an enchantment transfer table
Sat, 06/05/2021 - 18:14

Alright, so I'm making an enchantment transfer table (basically moves enchantments from an item to a book), and I've got it mostly working except that it doesn't apply the enchantments on the weapon/item to the book. Here is a screenshot of the procedure:

Screenshot of procedure

I also am editing the "remove specific enchantment" in the code to remove all of the enchantments from the item/weapon.

 

The only thing I can think of is that enchantments are stored as a number or logic NBT instead of text. But I can't find any info on it online.