Optimized Combat
Introduction
Optimized Combat is a Mod for Minecraft to optimize the combat system.
Features
- Decrease the max health. Now \(maxHealth=\min\{20-4*difficulty+2*\lfloor{expLevel/5}\rfloor,20\}\)
- Killing living entities will provide 1 health absorption(Max 4) and 2 food levels.
- If \(foodLevel<6\), player will get Slowness I, Weakness I, Mining Fatigue I status effect.
- High food level will not provide healing.
- The player has a -1 entity interaction distance and a -1 block interaction distance.
- Mining tool items provide +1 Entity Interaction Range and +2 Block Interaction Range.
- Sword items provide +2 Entity Interaction Range and +1 Block Interaction Range.
- Shield items can use continuously for only 40 ticks, and will cool down for \(15\times{(1+useTime/40)}\) ticks.
- The maximum number of items stacked has been adjusted to 256.
- The player receives damage reduction. \(damageReductionPercentage=0.3+0.4\times{lostHealthPercentage}\).
Dependencies
- Java 21
- Minecraft(Java Edition)
- Fabric Loader
- Fabric API
- Cobblestone API
- Lombok(Compile only)