How to make a enchantment multiplier?

Started by KRISTIYALNO_0962 on

Topic category: Help with Minecraft modding (Java Edition)

Active 1 year ago
Joined Sep 2022
Points:
423

User statistics:

  • Modifications: 0
  • Forum topics: 6
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 7
How to make a enchantment multiplier?

Hi,

I'm making a mod and there is a table that should multiply enchants when theres these items in the slots the enchanted book you want(slot 0), book(slot 1) and lapis (slot 2)

and when you click the button there it should put a enchanted book (with the same enchant on the book in slot 0) in the 3rd slot. I tried everything i could think of but it doesn't work, heres the procedure of the button when it's clicked: https://drive.google.com/file/d/1ptxs9pr9U5Lifcss3vD0TpDvBWoNDI2e/view?…. Can someone help me? Also I put only one enchants code because there's one for every enchant and it's long.

Active 3 months ago
Joined Jul 2020
Points:
712

User statistics:

  • Modifications: 0
  • Forum topics: 7
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 105
youve numbered your slots…
Sat, 04/01/2023 - 17:59

youve numbered your slots wrong?
lapis and ebook is 0, while book is 1

Active 1 year ago
Joined Sep 2022
Points:
423

User statistics:

  • Modifications: 0
  • Forum topics: 6
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 7
No i fixed it, i just used…
Thu, 04/06/2023 - 16:51

No i fixed it, i just used copy the item block.