跳到正文

Resistance Controller

作者:ledokua

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

收藏

介绍

中文介绍正在准备中,下面暂时显示原文。

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)))

常见问题

Resistance Controller 支持哪些 Minecraft 版本?

Resistance Controller 支持 Minecraft Java 版 1.21.1,可用的加载器:Fabric。下载时注意选择和你游戏版本一致的文件。

Resistance Controller 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:仅服务端。

评论

登录后评论和评分

ledokua 的其他作品

查看全部 →