The Enchantment Storage mod adds one new block to Minecraft, the Enchantment Extractor. The purpose of the Enchantment Extractor is to provide a centralized place to store all the enchantments you collect. This mod was born from the frustration of overflowing inventory, chests, & shulker boxes with unstackable enchanted items. So instead of wasting valuable storage space, and spending way too much time organizing enchanted items, now you can remove the enchantments and use them somewhere else. Of course this benefit doesn't come for free. Each transaction of storing or extracting enchantments costs 1 experience level per enchantment level. But, this cost can be reduced, or even nullified, by consuming lapis lazuli. Work smart, not hard. Save space, time, & sanity.
.jar file.enchantment_storage-x.y.z.jar file into your Minecraft mods/ folder.1.21.10).There are two valid shaped recipes to craft an Enchantment Extractor, requiring the following materials:
Store: pulls enchantments from bottom input slot into internal storage.Extract: applies selected enchantment onto a book or enchanted book.NOTE: You cannot extract enchantments directly onto items or tools, only books or enchanted books.
Store.Extract.Store XP cost = total sum of enchantment levels on input item, book, or enchanted book.Extract XP cost = selected enchantment level (Mending costs 1 level, Smite V costs 5 levels).UP) is for the lapis lazuli top input slot only.N/S/E/W) are for the item, book, & enchanted book input slot only.DOWN) is for the output slot extraction only.Debug commands are dev-only and require permission level 2. Root command: /es
| Description | Command |
|---|---|
| Seed internal enchantment storage | /es seed [rows] [quantity] |
| Print stored enchantments and total | /es list |
| Clear all stored enchantment data | /es clear |
| Print input/output/lapis slot states | /es inspect |
Set lapis slot count (0..64) |
/es fillLapis [count] |
| Add enchantment to storage | /es store [enchantment] [rank] [quantity] |
| Remove enchantment from storage | /es extract [enchantment] [rank] [quantity] |
Use.\gradlew <task> to run Gradle wrapper tasks.
| Task | Description |
|---|---|
runClient |
Launches the Minecraft client with the mod in dev mode. |
build |
Compiles, tests, and builds the mod jar. |
test |
Runs JUnit unit tests. |
runGameTest |
Runs Fabric/Minecraft game tests. |
runDatagen |
Runs data generation for assets/data outputs. |
spotlessCheck |
Verifies formatting & linting rules configured by Spotless. |
spotlessApply |
Applies Spotless formatting fixes automatically. |
clean |
Deletes the build directory for a fresh rebuild. |
Use the
--refresh-dependenciesflag to force a full Gradle rebuild.
Java 21gradle.propertiesbuild.gradle:.\gradlew spotlessApply
.\gradlew spotlessCheck
.\gradlew test
.\gradlew runGameTest
getEnchantmentRegistry() method.null when the world is unavailable, so callers must handle nullable results.| Region | Scope |
|---|---|
Constants |
Static/final values shared by the class. |
Class Variables |
Instance fields representing class state. |
Constructors |
Object construction and initialization wiring. |
Registration and Initialization |
Startup registration and one-time bootstrapping flows. |
Getters and Setters |
Accessors/mutators for controlled state access. |
UI |
UI-facing behavior, layout/state helpers, and interactions. |
Overrides |
Implementations of superclass/interface contracts. |
Public |
Public API methods intended for external callers. |
Protected |
Extension points intended for subclasses/packages. |
Private |
Internal implementation details hidden from callers. |
Helpers |
Reusable internal utility methods supporting core logic. |
Validation |
Input/state guards and invariant checks. |
Serialization |
Read/write logic for persisted/transferred data. |
Debug |
Dev/test-only instrumentation and debug utilities. |
Logging |
Structured logging helpers and related routines. |
| Region | Scope |
|---|---|
Vanilla |
Vanilla enchantment/runtime assumptions. |
Modded |
Modded compatibility behavior. |
Smoke |
Fast pass/fail sanity tests. |
Confidence |
Core logic utilities. |
Regression |
Bugfix lock-in tests. |
Stability |
Top-level behavior validation. |
Integration |
Screen/block entity/game test integration. |
Check out the source code on GitHub.
View the license.