Repository navigation
Advanced Enchantment Table
The Advanced Enchantment Table (enchanters_bench:advanced_table) is the main block of the mod. It replaces random enchanting rolls with a list of exact enchantments and levels to choose from.
| Property | Value |
|---|---|
| Block id | enchanters_bench:advanced_table |
| Hardness | 5.0 |
| Blast resistance | 2000.0 |
| Shape | Full width and depth, 12/16 of a block tall |
| Render shape | Model |
| Block entity | Yes (enchanters_bench:advanced_table) |
The block drops itself when broken, subject to the usual explosion survival check.
Right-clicking the block opens its menu on the server and shows the Advanced Enchantment Table screen on the client. The menu title is container.enchanters_bench.advanced_table.
The screen is 235 × 182 pixels and contains:
- One enchanting slot near the top-left, where the item being enchanted is placed.
- Four armor slots on the left side. These are the player's real armor slots, not a copy: equipping or removing armor here changes what the player wears. A binding curse prevents removing that piece unless the player is in creative mode.
- The enchantment list in the middle. Only four entries are visible at a time. When there are more valid enchantments, use the mouse wheel or the scrollbar on the right to move through the list.
- The enchant button, displayed with an enchanted book icon. During a full-moon night near midnight it is displayed with a bone icon instead, indicating that curses can be changed.
- The player inventory and hotbar at the bottom.
The list is sorted alphabetically by the enchantment's registry name.
Each row shows the enchantment name and, when a level is selected, the level number. Curses are shown in red. Dragging the slider changes the level from 0 up to the enchantment's maximum level. A level of 0 removes the enchantment.
A row is locked (shown with a red background and cannot be dragged) when:
- the item already has that enchantment at a level above its maximum, or
- the enchantment is incompatible with another enchantment currently selected for the item.
On a damaged item, the slider cannot be moved below the level the enchantment already had.
- Clicking it sends the enchant request to the server and applies the selected enchantments.
- It does nothing when the total cost is 0 (no changes) or when the player cannot afford the cost.
- Its tooltip reports "Enchantments are too expensive!", "No changes have been made." or "Click to enchant." as appropriate.
- Creative players do not pay experience, and the info panel shows an infinite EXP value.
The panel on the left of the screen displays:
- the player's current experience points (or
EXP: ∞in creative mode), - the total cost,
- the current discount from enchantment power.
If the item slot is empty, it asks you to place an item; if no enchantment is available for the item, it says so. When the cost is higher than the player's experience, it adds a red "You need more EXP to do this enchantment." line. A tip line introduces the interface tips, and holding Shift over a slider shows the enchantment's description.
The table keeps a separate single-slot inventory for every player, keyed by the player's UUID. The inventories are saved with the block entity. When a player closes the screen, the item in that player's enchanting slot is returned to their inventory, or dropped if the inventory is full.
The enchanting slot holds exactly one item.
- Enchanting Mechanics explains which enchantments appear and how the cost is calculated.
- Decorative Books explains the floating books that can provide enchantment power.
Enchanter's Bench is an unofficial port of Enchanting Plus (LGPL-3.0) by lclc98, Xkyouchoux, odininon and GnRSlash, maintained by Darkhax, with contributions from Jaredlll08, Shadows-of-Fire and translators. It is licensed under LGPL-3.0-or-later and is not affiliated with or endorsed by the original authors.