Description
Resistance Formula
THIS MOD DOESN'T REQUIRE SINYTRA CONNECTOR, UNLIKE RESISTANCE BALANCER
Lightweight, server-side-only mod that lets you define a custom formula for the Resistance effect’s damage reduction.
Tweak Resistance to be weaker, stronger, or anything in between—without touching armor math or other mods.
Features
- Replace vanilla’s fixed 20% per level with your formula.
- Add an extra flat bonus per level (e.g., +5% per level).
- Works serverside only (clients don’t need it installed).
- Prevents Resistance V+ invincibility by enforcing a minimum final damage.
- Compatible with armor, Protection enchants, attributes, and most combat mods.
Configuration
A config file is generated at config/resistanceformula-common.toml.
Keys:
formula→ math expression, using a variablelevel(default"0.20 * level")flatReductionPerLevel→ additional flat % per level (default0.00)maxReduction→ caps damage reduction (default0.00)
Examples:
- Weaker than vanilla:
formula = "0.05 * level" - Stronger than vanilla:
formula = "0.10 + 0.15 * level" - Curved scaling:
formula = "0.10 * (level ^ 1.25)",flatReductionPerLevel = 0.02
How It Works
- Captures raw incoming damage before vanilla mitigation.
- Adjusts the final damage so the net reduction matches your formula.
- Guarantees you still take damage even at very high Resistance levels.
Testing
Try Resistance II with /effect give @s minecraft:resistance 99999 1 true.
- Vanilla: 40% reduction
- Config formula =
"0.05 * level"→ 10% reduction - Config formula =
"0.25 * level"→ 50% reduction
Permissions
- Modpacks: Allowed
- Servers: Allowed
- Forks/ports: Ask me first


