Compatibility
Minecraft: Java Edition
Platforms
Supported environments
Tags
Creators
Details
No Too Expensive Anvil / 铁砧不再过于昂贵
(// This file contains bilingual Chinese and English descriptions. / 此文件包含中文和英文双语介绍。)
English
No Too Expensive Anvil removes the vanilla anvil's hard "Too Expensive" limit while keeping the rest of the vanilla anvil system intact.
It is designed for players who want long-term tools, weapons, books, and named items to remain usable in survival multiplayer without turning the anvil into a free or overpowered system.
What It Changes
- Removes the vanilla hard cap that blocks anvil results as "Too Expensive".
- Keeps normal prior work penalty accumulation.
- Keeps vanilla repair, rename, material consumption, and anvil damage behavior.
- Keeps vanilla enchantment compatibility rules unless another mod changes them.
- Keeps server authority in multiplayer.
- Applies a friendlier XP curve only after the vanilla expensive range is reached.
What It Does Not Change
- It does not edit enchantment data directly.
- It does not increase enchantment max levels.
- It does not make incompatible enchantments compatible.
- It does not remove XP costs.
- It does not change item NBT, data components, attributes, durability, or enchantment storage.
- It does not replace the anvil with a custom block or custom mechanic.
Friendly Post-Cap Cost Curve
Vanilla costs below 40 levels are left unchanged.
For costs at 40 or above, the displayed and paid cost uses this curve:
paid cost = min(vanilla cost, 39 + floor(sqrt(vanilla cost - 39) * 2.5))
Examples:
| Vanilla cost | Paid cost |
|---|---|
| 39 | 39 |
| 40 | 40 |
| 50 | 47 |
| 78 | 54 |
| 100 | 58 |
| 200 | 70 |
| 300 | 79 |
| 500 | 92 |
| 1000 | 116 |
Which File Should I Download?
Use the jar that matches your mod loader:
| Loader | File |
|---|---|
| Fabric | no-too-expensive-anvil-1.3.0.jar |
| NeoForge | no-too-expensive-anvil-neoforge-1.3.0.jar |
| Forge | no-too-expensive-anvil-forge-1.3.0.jar |
Do not put all three loader jars into the same mods folder. Install only the file for your loader.
Multiplayer
For LAN play, the host must install the mod because the LAN host is also the server. Friends can join without it, but installing it on clients is recommended so the anvil screen shows the correct reduced cost instead of vanilla "Too Expensive" or stale high-cost text.
For dedicated servers, install the matching loader jar on the server. Players should install the same matching loader jar on their clients for the best UI experience.
Compatibility
This mod is intentionally small and only touches the final anvil level cost and the client label that displays the cost. It should work with enchantment mods that add new enchantments, expand levels, or change compatibility rules, because those mods remain responsible for their own enchantment logic.
If another mod fully replaces the anvil screen, anvil menu, or result calculation, this mod should not crash, but it may not affect that replacement block or UI.
Tax Free Levels is explicitly detected. When Tax Free Levels is installed, Tax Free Levels takes priority for anvil cost behavior and this mod disables its overlapping anvil cost mixins to avoid conflicts.
Requirements
- Minecraft Java Edition
1.21.x,26.1.x, or26.2 - Fabric Loader
0.16.0+, NeoForge21+, or Forge51+ - Java 21+ for Minecraft
1.21.x - Java 25+ for Minecraft
26.x, as required by Minecraft itself
The jars are compiled for Java 21 bytecode so they can load on Minecraft 1.21.x. Minecraft 26.x still needs to be launched with Java 25.
Tested
- Fabric 26.2 dedicated server load test
- NeoForge 26.2 dedicated server load test
- Forge 1.21.8 dedicated server load test
- Forge 26.2 dedicated server load test
- Fabric 26.2 with Tax Free Levels, Fabric API, and Cloth Config
- NeoForge 26.2 with Tax Free Levels and Cloth Config
- Jar metadata, mixin config, icon, and Java bytecode checks for all loader builds
中文
铁砧不再过于昂贵 会移除原版铁砧的 “过于昂贵” 硬限制,同时尽量保持原版铁砧系统的其它规则不变。
它的目标不是把铁砧变成免费工具,也不是破坏附魔玩法,而是让长期使用的工具、武器、附魔书和命名物品在生存与多人联机中继续有维护空间。
它会改变什么
- 移除原版铁砧阻止产物的“过于昂贵”硬限制。
- 保留正常的惩罚值,也就是 prior work penalty 仍会继续累计。
- 保留原版修复、重命名、材料消耗、铁砧损坏逻辑。
- 保留原版附魔兼容规则,除非其它模组主动修改这些规则。
- 保留多人游戏中的服务端判定。
- 只在进入原版昂贵区间后使用更亲民的经验消耗曲线。
它不会改变什么
- 不直接修改附魔数据。
- 不提高附魔最大等级。
- 不让原本互斥的附魔变得兼容。
- 不取消经验消耗。
- 不修改物品 NBT、数据组件、属性、耐久或附魔存储。
- 不替换铁砧方块,也不加入新的铁砧机制。
更亲民的突破后经验曲线
原版 40 级以下的花费保持不变。
当原版花费达到 40 级或更高时,显示和实际扣除的等级会使用下面的曲线:
实际消耗 = min(原版花费, 39 + floor(sqrt(原版花费 - 39) * 2.5))
示例:
| 原版花费 | 实际消耗 |
|---|---|
| 39 | 39 |
| 40 | 40 |
| 50 | 47 |
| 78 | 54 |
| 100 | 58 |
| 200 | 70 |
| 300 | 79 |
| 500 | 92 |
| 1000 | 116 |
应该下载哪一个文件?
请按你的加载器选择对应 jar:
| 加载器 | 文件 |
|---|---|
| Fabric | no-too-expensive-anvil-1.3.0.jar |
| NeoForge | no-too-expensive-anvil-neoforge-1.3.0.jar |
| Forge | no-too-expensive-anvil-forge-1.3.0.jar |
不要把三种加载器的 jar 一起放进同一个 mods 文件夹。只安装与你当前加载器对应的那一个。
多人联机
局域网联机时,房主必须安装本模组,因为房主同时也是服务端。朋友不装也可以加入,但建议朋友也安装同加载器版本的 jar,这样铁砧界面会显示正确的降低后花费,而不是原版“过于昂贵”或旧的高花费文本。
专用服务器游玩时,请在服务端安装对应加载器版本的 jar。玩家客户端也建议安装同一加载器版本,以获得正确的铁砧界面显示。
兼容性
本模组刻意保持很小的修改范围:只处理最终铁砧等级花费,以及客户端铁砧界面的花费显示。对于新增附魔、扩展附魔等级、修改附魔兼容规则的模组,本模组会让那些模组继续负责它们自己的附魔逻辑。
如果其它模组完全替换了铁砧界面、铁砧菜单或结果计算,本模组不应主动导致崩溃,但可能不会影响那个替代方块或替代界面。
已显式兼容 Tax Free Levels。检测到 Tax Free Levels 时,Tax Free Levels 会优先控制铁砧花费,本模组会禁用自身重叠的铁砧花费 Mixin,以避免冲突。
需求
- Minecraft Java Edition
1.21.x、26.1.x或26.2 - Fabric Loader
0.16.0+、NeoForge21+或 Forge51+ - Minecraft
1.21.x使用 Java 21+ - Minecraft
26.x按游戏本身要求使用 Java 25+
所有 jar 都编译为 Java 21 字节码,因此可以加载在 Minecraft 1.21.x 上。Minecraft 26.x 本身仍需要用 Java 25 启动。
已测试
- Fabric 26.2 专用服务端加载测试
- NeoForge 26.2 专用服务端加载测试
- Forge 1.21.8 专用服务端加载测试
- Forge 26.2 专用服务端加载测试
- Fabric 26.2 + Tax Free Levels + Fabric API + Cloth Config 同装测试
- NeoForge 26.2 + Tax Free Levels + Cloth Config 同装测试
- 三种加载器 jar 的 metadata、Mixin 配置、图标和 Java 字节码检查


