Перейти к содержимому
Mineforgian

Resistance Controller

Balanced Resistance effect. No more 100% damage immunity. Fully configurable.

Загрузки
54
Подписчики
0
Обновлён
2 марта 2026 г.
Лицензия
MIT

Опубликован 2 марта 2026 г.

Resistance Controller

Tired of players becoming invincible with Resistance V?

In vanilla Minecraft, the Resistance potion effect provides 20% damage reduction per level. This means that at Resistance V (Level 5), entities become completely immune to damage (100% reduction). This breaks the balance of many modpacks and PVP servers.

Resistance Controller fixes this by allowing you to configure exactly how much damage reduction the Resistance effect provides.

🚀 Features

  • Balanced Default: By default, Resistance is nerfed to 5% reduction per level.
    • Vanilla: Level 5 = 100% reduction (Invincible).
    • Mod: Level 5 = 25% reduction (Balanced).
  • Fully Configurable: Want 10%? 3%? You decide. Edit the config/resistance_controller.properties file.
  • Hot Reloading: No need to restart the server! Just edit the config and run the standard /reload command to apply changes instantly.
  • Server-Side Friendly: Works great on dedicated servers.

⚙️ Configuration

The configuration file is located at config/resistance_controller.properties.

# Resistance Controller Configuration
# reductionPercentage: The percentage of damage reduction per resistance level (default: 5)
reductionPercentage=5

🧮 How it Works

The mod hooks directly into the damage calculation logic (specifically LivingEntity#getDamageAfterMagicAbsorb) to alter the formula used for resistance.

  • Vanilla Formula: Damage * (1 - (Level * 0.20))
  • Mod Formula: Damage * (1 - (Level * (ConfigValue / 100)))

Ченджлог

1.0Релиз1.21.1 · 2 марта 2026 г.

First version

Комментарии

Загружаем…