Repository navigation
Configuration
LlaGuiTo edited this page Nov 25, 2026
·
1 revision
The mod registers one COMMON config. NeoForge stores it as config/enchanters_bench-common.toml. It is read on both the client and the server.
The options are grouped under general and blacklist.
| Key | Default | Allowed range | Meaning |
|---|---|---|---|
general.baseCost |
45 |
1 – 1024 | Base cost used by the enchantment cost formula. |
general.costFactor |
1.0 |
0.0 – 1024.0 | Percentage-based factor applied to the cost. 0.30 means 30% of the original cost; 1.5 means 150%. |
general.treasureFactor |
4.0 |
0.0 – 1024.0 | Multiplier applied to treasure enchantments, making them cost more. The default makes them cost 4× as much. |
general.curseFactor |
3.0 |
0.0 – 1024.0 | Multiplier applied to curse enchantments. The default makes them cost 3× as much. |
general.floatingBookPower |
1.0 |
0.0 – 1024.0 | Enchantment power provided by a Decorative Book. A vanilla bookshelf provides 1. |
| Key | Default | Meaning |
|---|---|---|
blacklist.blacklistedItems |
[] |
List of item registry ids that cannot be placed in the advanced table. Each entry is a plain item id such as minecraft:stick. A legacy id#metadata suffix is accepted and ignored. |
blacklist.blacklistedEnchantments |
[] |
List of enchantment registry ids that are not offered by the advanced table. Each entry is a plain enchantment id. |
Both lists default to empty. Invalid entries are logged as errors and skipped. The blacklist is parsed once after the config is loaded during common setup, and it matches entries by registry name.
- The blacklist entries are parsed when the config is loaded at startup. Editing the lists at runtime does not rebuild the parsed sets; restart the game to apply blacklist changes.
- Because the config is COMMON, it exists on both sides; the server performs the actual enchanting logic.
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.