
Worn Tear
This modification provides flexible configuration that allows changing tool efficiency and weapon damage based on their durability. You can easily configure how performance indicators change as items wear out using custom efficiency curves.
Example Usage
Create file config/WornTear/example.json
:
[
{
"match": "minecraft:wooden_axe",
"rule": "4+[0,0]0"
},
{
"match": "minecraft:shears",
"rule": "0+[0,1]-20"
},
{
"match": "minecraft:iron_shovel",
"rule": "0.3+[0.4,0.5]0.6"
}
]
- Wooden Axe: Constantly operates at 400% efficiency.
- Shears: Have -2000% efficiency at full durability, with efficiency linearly increasing as durability decreases. At zero durability, return to 0%.
- Iron Shovel: Constant base efficiency of 30%. In the durability range from 40% to 50%, linear change occurs - at 45% durability, efficiency becomes 0.3 + 0.5 0.6 = 60%, at 50% and above stabilizes at 90%.
Additionally, you can enable coefficient displays in tooltips to visualize the changes. All efficiency changes affect both block breaking speed and weapon damage dealt.
Planned Features
- Effect of durability on armor toughness
- More detailed and customizable configuration settings