Repair Override
Modby DenLille_
Truly overwrite or add a repair ingredient to any item/gear. Data pack controlled.
Description
While working on Prodigium Reforged I had trouble finding a mod to overwrite or add repair ingredients of some items/gear that could be compatible with other mods (for example, being detected as a new reforge item for the Quality Equipment mod)
So if you're looking to fix this specific pain or just want to change or add the repair ingredient of any items, this should be able to help you.
How it works
The mod installs Mixin injectors at HEAD of isValidRepairItem on five vanilla classes: Item, TieredItem, ArmorItem, ElytraItem, ShieldItem. When an item has a registered override, the Mixin returns the result of testing the candidate against your custom Ingredient, replacing the vanilla check entirely.
How to use
Everything is done through datapack. It supports adding multiple items or even tag as a Repair Item.data/<your_namespace>/repair_overrides/<anything>.json
Multiple acceptable materials:
Tag-based (any item in the tag works):
Known edge case
Items that extend Item and override isValidRepairItem in their own subclass aren't covered automatically (similar to how vanilla ElytraItem and ShieldItem needed their own dedicated Mixins). Report it on the issue tracker and a per-class Mixin can be added.
Recommended Gear
AffiliateHardware and extras that pair well with this mod.
As an Amazon Associate I earn from qualifying purchases.
Similar Mods
SoundTweaks
Modify the volume of every sound in-game.
BlossomEQ - Swem Tack Addon
a swem addon that brings new tack for your horses
Async JEI (Just Enough Item)
An async version of JEI that loads faster
Awesome Sauce Core
Core mod for gjgfuj, and possibly others.
TelePistons
Telescopic Piston Animations
VexBot - PvP Against Bots
Super smart Minecraft bots.Their better than PvP BOT