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

Damage Correction

Smooths combat by compensating near-lethal damage, ensuring clean kills without altering core balance.

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

Опубликован 4 января 2026 г.

Damage Correction Mod

When a single attack is already enough to decide the outcome, this mod automatically fills in the small remaining difference, delivering a cleaner and smoother combat experience.

Design Goals

Have you ever charged up a powerful attack for ages, only to see the enemy left with a tiny sliver of health?

Or lost the fight because a boss survived with just a bit of HP and turned the tables?

This mod exists exactly for those moments!

It evaluates the final damage result. If the damage dealt by the player is almost enough to kill a creature, the mod will make up the difference and finish the job.

Combat. Feels. Good.

Mechanics

Calculation Logic

  • finalDamage: The final effective damage (after armor, enchantments, etc.)
  • healthBefore: The target’s health before taking damage
IF
healthBefore > finalDamage
AND
healthBefore - finalDamage <= finalDamage * k

Where:

k determines how much remaining health (relative to the damage dealt) is considered close enough to trigger full damage correction.

Example

  • Monster health: 10
  • Final damage dealt: 8

Remaining health: 2

With the default setting k = 0.5:

2 <= 8 * 0.5 → True

👉 An extra 2 damage is applied, instantly killing the monster.

But if the monster’s health is 20:

20 - 8 = 12
12 > 8 * 0.5 → False

👉 No correction is applied; damage is handled normally.

Configuration

The following options can be modified in damage_correction-common.toml under the config folder.

this is a Mod config page image

License

Licensed under the MIT License. Feel free to use it 😊

Ченджлог

26.2-1.1.2Релиз26.2 · 10 августа 2026 г.
  1. update to 26.2
  2. change logo and banner
26.1-1.1.2Релиз26.1, 26.1.1, 26.1.2 · 10 августа 2026 г.

update to 26.1

1.21.1-1.1.2Релиз1.21.1 · 8 января 2026 г.
  1. Migrated to 1.21.1.
  2. Switched to NeoForge’s built-in mod configuration screen.
  3. Optimized i18n.

p.s. NeoForge’s built-in mod configuration screen is incredibly convenient to use!

1.20.4-1.1.2Релиз1.20.4 · 8 января 2026 г.
  1. Compatible with 1.20.4.
  2. Independent client events.
1.19.2-1.1.1Релиз1.19.2 · 8 января 2026 г.

Compatible with 1.19.2

1.20.1-1.1.1Релиз1.20.1 · 8 января 2026 г.
  1. Now, when the client is not installed, it will not display "x" in the server list.
  2. Make slight modifications to the logo again
1.20.1-1.1.0Релиз1.20.1 · 7 января 2026 г.
  1. Optimized the logo to reduce file size

  2. Added a configuration screen with full localization support

  3. Server-side only logic to improve stability

  4. Fixed incorrect config keys

  5. Improved compatibility with Forge event cancellation and optimized Boss handling using a Set

1.20.1-1.0.0Релиз1.20.1 · 4 января 2026 г.

Init Project

Комментарии

Загружаем…