Enchantment Library

Quick rating

Enchantment Library

No reviews yet

For all your enchantment storage needs

QoL & Tweaks
Storage & Organization
Mod Loaders
Forge
Minecraft

Community voices

Reviews

Versions
Loading versions…
Match includes

Click once to include, again to exclude, again to clear

Rating Any
Any 0.5 1.0 1.5 2.0 2.5 3.0 3.5 4.0 4.5 5.0
Min
Max
Play Status
Reviews
Time Played
hrs+
Verified developers only
Has developer response
List view
Grid view
Compact view
Sort by
Date
Rating
Helpful
Unhelpful
Edited
Sort ascending
Delete this review?

This removes your review from the project. You can write a new review after.

Review submitted for moderation

Your review has been sent to moderators, who will check that it meets our guidelines before it appears publicly.

No reviews yet. Be the first to review this project!

Get it on

Available Platforms

Compatibility

Supported Environments

Where It Runs
Client and Server

Must be installed on both the client and the server.

About

Project Details

Type
Mod
License
GNU General Public License v3.0 only
Latest Version
enchlib-1.12.2-1.2.1.jar
Authors
CurseForge
Modrinth

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.

Custom banner text
ModDex rating badge preview

Use HTML for any page that supports it, or Markdown for README files and Markdown-based descriptions.

Identifiers

Platform IDs

CurseForge ID
Modrinth ID

Resources

External Links

Source Issues Wiki Discord

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

This project has no gallery images yet.

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

0
Ratings
0
Followers
0
In stacks

By the numbers

Statistics

~200,000
Total Downloads
CurseForge
~200,000
Modrinth
~1,000
Last Updated
CurseForge
Created
CurseForge
Modrinth
Last synced
When ModDex last fetched this project from CurseForge or Modrinth. Every project is re-checked on a schedule, and any project that ships a new file is synced automatically within hours of the release.
New file updates sync automatically
How syncing works