Mineuniverse
Log in Register
Mods

Resistance Formulation

A mod that allow you to set custom a formula for the resistance potion effect
by TysonTheEmber
Download Claim this project
574 downloads
0 likes
Updated Jul 6, 2026
0 hypes
Bug Fixes Mobs Server Utility Utility & QoL

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 variable level (default "0.20 * level")
  • flatReductionPerLevel → additional flat % per level (default 0.00)
  • maxReduction → caps damage reduction (default 0.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
resistanceformula-1.1.0.jar
MC 1.20.1, Forge, Server
Release 2025-09-01 Get

More from TysonTheEmber

Ocean Core
94,652
Better Harvest Levels
866
Configurable Waterlogging
81,424
Remap IDs
713
KubeJS Studio
7
Hyprland Input Fix
492

You Might Also Like

RLMixins
Minecraft and Minecraft mod tweaker and fixer for the modpack RLCraft
9,896,264
Steel Got It
Fixes a bug that causes creepers to consume your flint and steel. MC-264285
996,093
Wither Spawn Fix W.S.A. Compatible
A fix for the Wither spawn that works with Wither Spawn Animation
995,407
Misanthropy's World Corruption Fixer
Restores your corrupted world caused by missing mods and more
98,977
Worldgen Patches
Fixes a few small issues in worldgen.
97,080
Celestisynth Fix
Fixes a memory leak issue caused by static mappings.
9,969