Help with an enchantment transfer table

Started by blahblahbal on

Topic category: Help with MCreator software

Last seen on 22:47, 4. Nov 2022
Joined Jan 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Help with an enchantment transfer table

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.

Last seen on 20:41, 19. Jul 2022
Joined Jul 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Hi, I was having the same…
Mon, 07/18/2022 - 23:26

Hi, I was having the same doubt and I looked in several topics but I didn't find it so I decided to try to do something myself, this is what I got, link this procedure to a button in a GUI and change the "CUSTOM:Accumulate" to the enchantment you want, if necessary you can duplicate this IF and add it several times changing the enchantment to others, I think it might give an error if you have more than 1 enchantment but I think putting a delay between the IFs can fix it

Here is the Procedure link
https://cdn.discordapp.com/attachments/864559259563589632/9987319948275…