The Disenchanter Mod
Want to get the good enchantments of those rubbish gold items? Or did you get perfect enchantments on your sword, but the Knockback is bothering you?
The DisenchanterMod is the thing for you!
(If Enchanting+ is too much for your needs and you do not want any of the major mods - e.g. MineFactoryReloaded, Draconic Evolution - including this feature, because you do not want most of the utilities those mods provide?)
It is a very lightweight mod just adding one block to the game:
The Disenchantment Table
It's easy to craft and use! (watch the animations)
Any combination is possible!
Small Crafting Guide:
Problem: I am using RLCraft (or a similar heavily modded modpack). Items disappear after a single disenchantment!
Fix: The authors of RLCraft have heavily modified the default config-values. Items will break instantly.
Here is a quick explanation how my code works for dealing damage to an item after disenchanting:
while ("item has enchantment"): transfer enchantment; damage item by (machineDmgMultiplier * (flatDmg + itemMaxDurability * durabiltyDmg + itemMaxDurability * (reduceableDmg / "enchanting power (aka. surrounding blocks)"))); stop if item's durability is lower than 0 or table does not perform bulk-disenchanting;
I know the formula seems complicated, but it boils down to this:
- if you use an automatic disenchantment table, multiply all damage by the amount specified in the config as "MachineDamageMultiplier"
- deal a flat amount of damage specified in the config as "FlatDamage"
- deal a percentage of the Item's max durability as damage to the item; the percentage is specified in the config as "MaxDurabilityDamage"
- deal a percentage of the Item's max durability as damage to the item, but that percentage can be lowered by surrounding the table with special blocks (f.e. Bookshelves); that percentage is specified in the config as "MaxDurabilityDamageReduceable"
Now there can be multiple reasons your item breaks on the first use:
- 1. The flat damage is higher as the item's max durability (if this is set to 0, this cannot be the case)
- 2. The percentage of the Item's max durability dealt to it is 100% aka. 1 in the config. This will break any Item instantly.
- 3. The percentage of the Item's max durability, but reduced, dealt to it is 100% aka. 1 in the config, but no blocks reduce the damage. This will break any Item instantly.
- 4. Those percentages are lower than 1, but increased above 1 by using an automated disenchantment table
You need to open up your config folder for the modpack (usually adjacent to where you would also find resourcepacks; I've been told it is located at ".../Curse/Minecraft/Instances/RLCraft/config/disenchanter.cfg" specificly and change the relevant values to (MachineDamageMultiplier, FlatDamage, MaxDurabilityDamage, MaxDurabilityDamageReducable) to reasonable values (e.g. in the same order: 2.5, 10, 0.025, 0.2).
Problem: I am using RLCraft (or a similar heavily modded modpack). I can not craft any of the disenchanting-table variants (even though I can see them in JEI)!
Fix: This happens because of the same reason as above. Please check your config, as the recipes can be disabled individually there.
Specifically you need to set the following values to true:
EnableAutomaticRecipe, EnableVoidingRecipe, EnableBulkDisenchantingRecipe, EnableClearRecipe
Problem: The automatic disenchantment table is acting up! It behaves wierdly, stops working and only supports hoppers (badly)...
Fix: None. Yep, sorry... It's a bit outdated. I will get to fix it someday! Until then you can report issues you experience to me via Curse or GitHub!
If you are experiencing any other issues feel free to contact me!
I am aware that this is not a new concept by any means. I just could not find a small lightweight mod (that is not outdated) that fit my needs, so I made this and figured that there might be others that would enjoy this small Mod.
Also this uses a BSD License, which means you can use it for your modpack.