Resistance Formulation

A mod that allow you to set custom a formula for the resistance potion effect

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

The Resistance Formulation Team

profile avatar
  • 76
    Followers
  • 16
    Projects
  • 3.9M
    Downloads

I like making utility mods for both pack and mod devs to use :)

Donate

More from TysonTheEmberView all

  • Ember's Text API project image

    Ember's Text API

    • 1.8M
    • Mods

    Text rendering and styling API with effects, animations, and custom font support.

    • 1.8M
    • June 22, 2026
    • Mods
    • +3
  • Configurable Waterlogging project image

    Configurable Waterlogging

    • 78.4K
    • Mods

    A mod that allows you to waterlog any block with a config

    • 78.4K
    • June 19, 2026
    • Mods
    • +1
  • Ocean Core project image

    Ocean Core

    • 89.4K
    • Mods

    A mod that turns the world into a ocean with islands scattered about

    • 89.4K
    • June 13, 2026
    • Mods
    • +4
  • Remap IDs project image

    Remap IDs

    • 601
    • Mods

    Redirect item, block, entity, fluid, tag, recipe, and loot table IDs to alternative IDs at runtime

    • 601
    • June 12, 2026
    • Mods
    • +2
  • Ember's Text API project image

    Ember's Text API

    • 1.8M
    • Mods

    Text rendering and styling API with effects, animations, and custom font support.

    • 1.8M
    • June 22, 2026
    • Mods
    • +3
  • Configurable Waterlogging project image

    Configurable Waterlogging

    • 78.4K
    • Mods

    A mod that allows you to waterlog any block with a config

    • 78.4K
    • June 19, 2026
    • Mods
    • +1
  • Ocean Core project image

    Ocean Core

    • 89.4K
    • Mods

    A mod that turns the world into a ocean with islands scattered about

    • 89.4K
    • June 13, 2026
    • Mods
    • +4
  • Remap IDs project image

    Remap IDs

    • 601
    • Mods

    Redirect item, block, entity, fluid, tag, recipe, and loot table IDs to alternative IDs at runtime

    • 601
    • June 12, 2026
    • Mods
    • +2