adaptive_mobs_1
A Minecraft NeoForge 1.21.1 Mod by lby_12321
Description
Adds adaptive resistance to all living mobs. When a mob survives damage, it permanently gains resistance to that damage type. Each additional hit of the same type reduces damage by a configurable percentage, stacking up to 100% reduction. Fully adapted mobs become completely immune to that damage type. Players and non-living entities are excluded.
Features
All LivingEntity mobs automatically gain adaptation
Per-damage-type tracking with independent stacks
Unlimited number of damage types can be adapted
Permanent resistance that never decays
Data persists across saves via entity NBT
Fully configurable via config file
Config File
File name: adaptive_mobs_1779006369-common.toml
maxReduction — Maximum damage reduction (0.0 = 0%, 1.0 = 100%). Default is 1.0. Range 0.0 to 1.0. This is the hard cap that limits total reduction no matter how many stacks.
reductionPerStack — Damage reduction gained per adaptation stack. Default is 0.15 (15% per stack). Range 0.0 to 1.0. Set higher to adapt faster, lower to make mobs tougher longer.
maxStacks — Maximum resistance stacks per damage type. Default is 7. Must be greater than 1. With default settings, 7 stacks at 15% each hits 105%, but maxReduction caps it at 100%.
Example: Changing reductionPerStack to 0.1 and maxStacks to 10 gives slower buildup but same final immunity. Changing maxReduction to 0.9 means mobs always take at least 10% damage even when fully adapted.