
Resistance Formula
This mod does NOT require SINYTRA CONNECTOR, unlike RESISTANCE BALANCER
A lightweight, server-side-only mod that enables you to define a personalized calculation for the Resistance effect's damage reduction. Tailor resistance to be weaker, more powerful, or any variation in between — without interfering with armor mechanics or other mods.
Key Capabilities
- Replace the fixed 20% per level in standard gameplay with your own mathematical equation.
- Add a consistent bonus per level (for example, +5% boost per level).
- Functions solely on the server (no client installation required).
- Preventing complete immunity at Resistance V+ by imposing a least final damage amount. through a lowest usable damage setting.
- Compatibility with armored items, Protection enchantments, character attributes, and the majority of combat mods.
Settings
The configuration file gets produced under config/resistanceformula-common.toml
pathway.
Configuration parameters:
-
formula
→ mathematical expression embedding a variablelevel
Example defaults equal:
"0.20 level"
-
flatReductionPerLevel
→ Extra consistent percentage per enhancement stepDefault initial value:
0.00
-
maxReduction
→ Setting a broad cap on damage deductionDefault base value:
0.00
Custom instances:
- Less efficient than norm: substitute entry equalizing setting:
formula = "0.05 level"
- Improved beyond ordinary limitations: Value assignment includes field:
formula = "0.10 + 0.15 level"
- Exponential elevation: Use combination
formula = "0.10 (level ^ 1.25)"
plusflatReductionPerLevel = 0.02
constant multipliers.
Operating Principles
- It captures the initial impact damage before basic mitigation procedures in the game.
- It readjusts total received injury based on your stated equation fitting the output decrease specs through adaptive reconsideration of aftermath effects.
- Implements specific restrictions to ensure keeping injured position high even with tremendous durability scores, much exceeding traditional caps.
Experiments
Game command /effect give @s minecraft:resistance 99999 1 true
may optionally operate parameter examinations on group Resistance II object.
Between sample computational deductions different settings achieve:
- Original unchanged option: 40 percentage output shrink
- Configuration defining line
formula = "0.05 level"
might intend meeting 10 percentage target - Having config parameter
formula = "0.25 level"
influences constructing state where 50 percent gets lopped away.