Fixed Anvil Repair Cost (Legacy Fabric)
Fixed Anvil Repair Cost (Legacy Fabric)
This mod requires the Collective (Fabric) library and Fabric API.
New files and updates have been moved to the main project page.
For Forge versions and Fabric 1.18+, visit the main link.
This mod is part of the The Vanilla Experience modpack.
Fixed Anvil Repair Cost is a minimalistic configurable mod that makes changes to the anvil's functionality. You can set a fixed repair cost in experience levels that won't increase over time. It's also possible to configure the amount of materials needed for repairs and the percentage of durability restored per action.
Configuration Settings
repairCostLevelAmount (default = 3, min 0, max 100): The number of experience levels required to repair an item on an anvil. A value of 0 maintains vanilla behavior.
repairCostMaterialAmount (default = 1, min 0, max 64): The amount of materials required to repair an item on an anvil. A value of 0 maintains vanilla behavior.
percentRepairedPerAction (default = 0.3333, min 0, max 1.0): The percentage of durability restored per repair action. By default 33.33%, meaning 3 units of material fully repair any item.
Repair Example
Repairing an elytra with default settings:

For bug reports, ideas, suggestions, and other inquiries, please use the GitHub repository.