Anvil No Experience Need
Anvil operations cost 0 experience and are never too expensive.
Features
- Anvil combining, repairing, and renaming cost 0 experience levels every time.
- Removes the vanilla 'Too Expensive!' restriction (cost cap 40), so expensive recipes work in survival.
- Implemented as a small FML coremod with an ASM class transformer that forces every XP-cost write to 0. It resolves the cost field across notch (
afs/a), SRG (field_82854_e) and MCP (maximumCost) names, because coremods run before Minecraft deobfuscation. - Works on both client and server: the client GUI shows 0 levels and never displays 'Too Expensive!'.
- Material/item costs are unchanged; only the XP cost is removed. ASM is bundled into the jar. CI verifies that all 8 cost writes are zeroed in both obfuscated and MCP class bytes, and that the output slot remains takeable at 0 XP.
Commands
- None.
Configuration
No configuration files.
Requirements
- Minecraft 1.12.2 with Forge (tested against Forge 14.23.5.2838).
- Environment: client+server (coremod).
Known limitations
- Coremod: must be installed on both client and server for a consistent anvil GUI.
- Compatibility with other coremods that transform
ContainerRepairis UNVERIFIED.

Credits
Author: itamio.