Enchantment Library
No reviews yet
For all your enchantment storage needs
Forge is a popular mod loader for versions 1.1+ of Minecraft.
Community voices
Reviews
Click once to include, again to exclude, again to clear
No reviews yet. Be the first to review this project!
Get it on
Available Platforms
Compatibility
Supported Environments
Must be installed on both the client and the server.
About
Project Details
For authors
Embed Badge
If you're the author of this project, you can embed a live badge anywhere that supports HTML or Markdown. It updates automatically whenever ratings change.
Use HTML for any page that supports it, or Markdown for README files and Markdown-based descriptions.
Identifiers
Platform IDs
About
Description
Enchantment Library
1.12.2 only
Description
Adds a single block: the Enchantment Library, which can store any number of enchantments.
When inserting an enchanted book, it gets converted into its "point worth".
The "points worth" of an enchantment is 2^(level-1), where level is the level of the inserted enchantment.
You can then extract any stored enchantment at any level, as long as you have enough points, and you have inserted an enchantment of at least that level before.
So inserting two Unbreaking II books and extracting one Unbreaking III will NOT work if you have never inserted an Unbreaking III book or higher before.
Because of the way the enchantments are stored, the upper limit on how many points you can have stored is 2^(MAX_SHORT-1) * 2 * MAX_LONG (the *2 is because the points are stored unsigned, so the sign bit can also be used).
The maximum level supported for storage/insertion/extraction however is MAX_SHORT (which is also the limit of Vanilla).
The Enchantment Library also exposes the max level extractable of each enchantment as enchanted books to automation (Hoppers, AE2, etc.).
Insertion supports ANY enchanted book (that has enchantments). If a book has multiple enchantments, they will all get stored (can be disabled in config).
Extracting books in the GUI is possible for any level from 1 to the max extractable.
Clicking with an enchanted book in hand on a different enchantment will add that enchantment to the book held (can be disabled in config).
The mod also adds config options for:
- enchantment level number formatting in tooltips (can be changed to normal numbers, or extend roman numerals to 3999 and then use normal numbers)
- enchanted book stack size
These options can all be fully disabled in case the functionality is not wanted / causes issues with other mods.
Enchantment Library
1.12.2 only
Description
Adds a single block: the Enchantment Library, which can store any number of enchantments.
When inserting an enchanted book, it gets converted into its "point worth".
The "points worth" of an enchantment is 2level-1, where level is the level of the inserted enchantment.
You can then extract any stored enchantment at any level, as long as you have enough points, and you have inserted an enchantment of at least that level before.
So inserting two Unbreaking II books and extracting one Unbreaking III will NOT work if you have never inserted an Unbreaking III book or higher before.
Because of the way the enchantments are stored, the upper limit on how many points you can have stored is 2MAX_SHORT-1 * 2 * MAX_LONG (the *2 is because the points are stored unsigned, so the sign bit can also be used).
The maximum level supported for storage/insertion/extraction however is MAX_SHORT (which is also the limit of Vanilla).
The Enchantment Library also exposes the max level extractable of each enchantment as enchanted books to automation (Hoppers, AE2, etc.).
Insertion supports ANY enchanted book (that has enchantments). If a book has multiple enchantments, they will all get stored (can be disabled in config).
Extracting books in the GUI is possible for any level from 1 to the max extractable.
Clicking with an enchanted book in hand on a different enchantment will add that enchantment to the book held (can be disabled in config).
The mod also adds config options for:
- enchantment level number formatting in tooltips (can be changed to normal numbers, or extend roman numerals to 3999 and then use normal numbers)
- enchanted book stack size
These options can all be fully disabled in case the functionality is not wanted / causes issues with other mods.
Screenshots
Gallery
Versions
Files
Relations
Project Relations
More like this
Similar Mods
Suggestions use data such as tags, dependencies, dependents, descriptions, titles, and more to rank how much they overlap with this mod.
On ModDex
Community snapshot
By the numbers
Statistics
Want to reach Minecraft players?
We're looking for a server hosting partner to feature here and other parts of the site. Interested? Send us a message!
Get in touchGet it on
Available Platforms
On ModDex
Community snapshot
By the numbers