Started by
ExecGaming
on
Topic category: Help with MCreator software
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?
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.
I am trying to mod for 1.16.5
I'm currently testing it
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:
Then, I tried modifying it like this:
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:
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
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
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?…