JEI Enchantment Info Mod — Guide
Mechanics
The mod operates through a dynamic detection system that looks for specific translation keys in the game's .json language files. It does not hard-code descriptions; instead, it acts as a renderer for any mod that provides the appropriate lang entries.
Detection Logic
When a player queries an enchantment, the mod searches for a registry name match followed by a specific suffix. If a match is found, the text associated with that key is pulled into the JEI info panel.
- Trigger: The mod is triggered when the player uses the 'Show Recipes' or 'Show Uses' keybind on an enchanted book.
- Filtering: The mod specifically targets books containing a single enchantment to ensure the information provided is accurate and relevant to the specific effect being queried.

Usage Instructions
To use the mod, players must have Just Enough Items (JEI) installed and active. The process for viewing enchantment info is integrated into standard JEI controls.
- Locate an Enchantment: Find an enchanted book in your inventory, a chest, or the JEI item list.
- Hover and Query: Hover your mouse cursor over the book.
- Press Keybind: Press the 'R' key (default for Recipes) or the 'U' key (default for Uses).
- Select Info Tab: In the JEI interface that appears, click on the 'i' (Information) icon among the tabs at the top. The description for the enchantment will be displayed in the main panel.
| Action | Keybind (Default) | Result |
|---|---|---|
| View Info | R | Opens the Recipe/Info interface |
| View Usage | U | Opens the Usage/Info interface |
| Scroll Text | Mouse Wheel | Scrolls through long descriptions |
Technical Integration
For mod developers and resource pack creators, adding support for JEI Enchantment Info is straightforward. The mod follows a standardized naming convention for language entries.
Lang Entry Format
The mod looks for keys following this specific structure:
enchantment.[MOD_ID].[ENCHANTMENT_REGISTRY_NAME].[SUFFIX]
- MOD_ID: The internal ID of the mod adding the enchantment (e.g.,
minecraftorcyclic). - ENCHANTMENT_REGISTRY_NAME: The internal name of the enchantment (e.g.,
fire_protection). - SUFFIX: Either
.descor.description.
Examples
| Registry Key | Description Value |
|---|---|
enchantment.minecraft.sharpness.desc |
"Increases melee damage against all mobs." |
enchantment.jeienchantmentinfo.fire_protection.description |
"Reduces fire damage and burn time." |
enchantment.discernment.discernment.desc |
"Prevents hurting peaceful or whitelisted entities." |
