
Infinite Enchantments Mod/Lib
Infinite Enchantments Mod/Lib aims to make enchantment levels infinite!!
About this Mod
Infinite Enchantments Mod/Lib
Want to play with enchantments more than 255?
Enchantments look like this Sharpness enchantment.level.255?
This mod/lib has fixed all that for you!
Enchantments now made to maximum 255 -> 1000000000 (1 billion!)Sharpness enchantment.level.255 made Sharpness 255
How to install
For Players :
- Download the jar file
- Put it in the
.minecraft/versions/<Neoforge version name>/mods
Now you can enchant the item with commands
REMEMBER : Using enchantments like fortune with high levels can cause many drops to drop, causing the game to crash
For Modders:
- Put the following in
build.gradle
repositories {
exclusiveContent {
forRepository {
maven {
url "https://cursemaven.com"
}
}
filter {
includeGroup "curse.maven"
}
}
}
- Put the cursemaven snippet in
dependenciesinbuild.gradle - Reload gradle changes to implement it
Now modders can ItemStack#set the Enchantment with DataComponents.ENCHANTMENT and ItemEnchantments like follows
public static void setOverleveledEnchant(ItemStack stack, Holder<Enchantment> enchantment, int level) {
ItemEnchantments existing = stack.getOrDefault(DataComponents.ENCHANTMENTS, ItemEnchantments.EMPTY);
ItemEnchantments.Mutable mutable = new ItemEnchantments.Mutable(existing);
mutable.set(enchantment, level);
stack.set(DataComponents.ENCHANTMENTS, mutable.toImmutable());
}
REMEMBER : The "max_level" field in any <enchantment_name>.json still needs to be a lower value like 5, as the value determines the number of books generated in the creative mode tab (that means setting it to suppose 1 billion will create 1 billion books, and the game crashes)
Drop any suggestions for updates in the comments!
Available Versions
How to Install Infinite Enchantments Mod/Lib on Your Server
Order Server
Order a Minecraft Java server with at least 3 GB RAM (4 GB recommended).
Set neoforge Loader
In the panel under "Egg", select the neoforge loader and matching Minecraft version (1.21.11).
Install Mod
Open the mod browser in the dashboard and search for "Infinite Enchantments Mod/Lib". Click "Install" – done! Alternatively, upload the .jar via SFTP to the /mods folder.
Compatibility
Mod Loaders
Minecraft Versions
1.21.11, 1.21.10, 1.21.9 (+8 more)
Server-side
✗ UnsupportedRecommended RAM
4 GB(min. 3 GB)Frequently Asked Questions
Infinite Enchantments Mod/Lib server crashes on startup – what to do?
Most common cause: wrong neoforge version or insufficient RAM. Check the server log (latest.log) for "OutOfMemoryError" or "Mixin" errors. With Mado Hosting: ensure at least 3 GB RAM is allocated and the loader matches the mod version (1.21.11). You can switch loaders with one click in the panel.
Is Infinite Enchantments Mod/Lib compatible with neoforge?
Infinite Enchantments Mod/Lib officially supports neoforge for Minecraft 1.21.11, 1.21.10, 1.21.9. The Mado dashboard automatically detects incompatible loader combinations.
Server lagging with Infinite Enchantments Mod/Lib – how to optimize performance?
Recommended RAM: 4 GB (per 8 players). Use /spark profiler to check if Infinite Enchantments Mod/Lib consumes the most tick time. Common fixes: reduce server view-distance to 8-10, install "performant" or "starlight" as supplementary mods on Forge. With Mado Hosting, your server runs on NVMe SSDs with dedicated CPU cores for minimal latency.
Similar Mods
Rent Modded Server
Install Infinite Enchantments Mod/Lib with just one click on your server.