[Help] Crazy and Insane enchantments.

Started by ExecGaming on

Topic category: Help with MCreator software

Last seen on 19:49, 26. Sep 2022
Joined Mar 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
[Help] Crazy and Insane enchantments.

SO basically, I am trying to create my own enchantment table (which is all said and done, it's able to enchant etc etc) BUT I want to be able to do like level 1,000,000 enchants. Like some CRAZY stuff.  However I've done all kinds of combinations of blockly code that I could do and sadly no luck. Someone think they could help me out with being able to do this?

Last seen on 14:40, 25. Jan 2022
Joined Sep 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Sadly, there are some…
Mon, 09/06/2021 - 23:32

Sadly, there are some enchantments that do not work once behind a limit, so 1,000,000 enchantments don't seem very posible, at least on 1.12 (32,767 is the maximum on that version).

Although, begining from 1.13, the max enchantment level went all the way to 2,147,483,647.

If you reply me with the minecraft version you're trying to make the mod on, I could try to do it and help you.

Last seen on 19:49, 26. Sep 2022
Joined Mar 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I am trying to mod for 1.16.5
Mon, 09/06/2021 - 23:37

I am trying to mod for 1.16.5

Last seen on 14:40, 25. Jan 2022
Joined Sep 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I'm currently testing it  
Tue, 09/07/2021 - 08:49

I'm currently testing it

 

Last seen on 14:40, 25. Jan 2022
Joined Sep 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I'm sorry I couldn't solve…
Tue, 09/07/2021 - 09:37

I'm sorry I couldn't solve the issue.

It has something to do with the way MCreator adds enchantments, which has something to do with the default way Minecraft adds enchantments.

When I try to modify an enchantment inside Minecraft storing a sword inside a chest and using F3 + I, the default enchantment looks like this:

/setblock 20 4 12 minecraft:chest[facing=north,type=single,waterlogged=false]{Items:[{Slot:0b,id:"minecraft:netherite_sword",Count:1b,tag:{Damage:0,Enchantments:[{lvl:5s,id:"minecraft:sharpness"}]}}]}

Then, I tried modifying it like this:

/setblock 20 4 12 minecraft:chest[facing=north,type=single,waterlogged=false]{Items:[{Slot:0b,id:"minecraft:netherite_sword",Count:1b,tag:{Damage:0,Enchantments:[{lvl:2147483647s,id:"minecraft:sharpness"}]}}]}

But Minecraft gave me a level 0 sharpness that didn't work and I figured out it was because of the "s" after the number, so I removed it and it worked great:

/setblock 20 4 12 minecraft:chest[facing=north,type=single,waterlogged=false]{Items:[{Slot:0b,id:"minecraft:netherite_sword",Count:1b,tag:{Damage:0,Enchantments:[{lvl:2147483647,id:"minecraft:sharpness"}]}}]}

MCreator gave me a level -1 sharpness enchantment, so not completely sure if it's caused by the same thing or if there is some type of workaround (I even tried editing the code of the enchanting procedure).

You can download and load this workspace (shareable zip) to test it:
https://drive.google.com/file/d/1cknLL396mHEm_i5VETVGUGzzRGUEMBOY/view?usp=sharing

Last seen on 19:49, 26. Sep 2022
Joined Mar 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Will be downloading this to…
Tue, 09/07/2021 - 14:37

Will be downloading this to look at it and test for myself, thank you and I'll see if I can't continue figuring something out 

Last seen on 19:49, 26. Sep 2022
Joined Mar 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
OKAY! So I have figured it…
Fri, 09/10/2021 - 04:53

OKAY! So I have figured it out, and created a somewhat complex code using a bunch of If do else blocks as well as getting item from slot, get xp from player and removing the amount of said levels. Here is a download to the workspace if anyone would like to check it out and perhaps either use it or improve it! (Would have sent this last night but wifi was being fixed on) 

Download for my workspace - https://drive.google.com/file/d/19M4D0SujFo-95eeiNxaF6absPI-NyQyu/view?…