All Mods Resource Packs Data Packs Shaders Modpacks Plugins
[AN]Adaptive Nemesis

[AN]Adaptive Nemesis

by LOAE_U987 • Downloads: 0 • Followers: 0
Description
Gallery
Changelog
Versions

⚔️ Adaptive Nemesis ⚔️

"Your power feeds their evolution."

They weren't kidding.


🎬 What Is This?

You know the drill. You start a modpack. Early game: you're scratching zombies with a wooden stick, questioning your life choices. Late game: you're in full god gear one-shotting everything that moves, bored out of your mind.

Adaptive Nemesis breaks that loop.

It watches you. It learns. And it makes sure the world stays dangerous — no matter how strong you get.


⚔️ Core Systems

🧠 Player Strength Evaluation

The mod doesn't just look at your armor bar. It reads your entire combat profile:

What It Sees Why It Matters
🛡️ Armor & Health Tank builds don't go unpunished
⚔️ Attack Stats Glass cannons meet glass resistance
✨ Apotheosis Gear That mythic affix? They noticed.
🔮 Iron's Spells Mana Mages get scaled against too
⚔️ Epic Fight Stamina Your combat style is on file

💡 Everything is weighted. Everything counts. And yes — you can tweak the weights in config.


📈 Dynamic Enemy Scaling

Every hostile mob that spawns gets a personal gift from the system:

Attribute Scaling Hard Cap
Health Based on nearby player strength 500%
Damage You hit hard? They hit harder. 500%
Armor Your sword will feel it. 300%
Attack Speed No more infinite stunlock. 2.0x
Movement Speed Running won't save you. 2.0x

The twist: Every mob rolls 70%~130% of the base scaling. Two zombies from the same spawn? Different personalities. Different threat levels. You'll never know which one is the problem child.

🔥 "I saw a zombie with 80 HP and laughed. Then I saw the one next to it had 240 HP and a diamond sword. I stopped laughing."

Anti-Explosion Safeguards: Base values are stored in NBT. If tags get cleared, the mod falls back to DefaultAttributes. No exponential HP inflation. No broken saves.

Equipment Scaling: Humanoid enemies can spawn with scaled gear and enchantments. The system scans ItemTags to pull from your modpack's weapon/armor pool. Dangerous enchants are blacklisted. Drops can be disabled so you don't drown in loot.


🌍 World Stage System

This is server-wide. Permanent. And it doesn't care about your feelings.

Stage How You Got Here What Changes
0 Fresh world Baseline. Enjoy it while it lasts.
1+ A player killed a Boss (Dragon, Wither, Warden...) +50% enemy strength per stage

⚡ Only player kills count. The stage is shared across all dimensions. And it only goes up.


🎚️ Adaptive Float System

The mod doesn't just scale once and call it a day. It watches your performance in real time:

You Do This The World Does This
Chain kills like a maniac Float multiplier +10% — they grow
Die. A lot. Float multiplier -15% — breathing room
AFK at your mob farm Decay kicks in. The world forgets you were scary.
Glass cannon build (high damage, low survivability) Efficiency check. Difficulty reels back.

🧠 "The system learned to read your true skill. Not just your DPS."


💀 True Damage Conversion (Iron Turtle Terminator)

Wearing 100+ armor and feeling invinc? Cute.

Your Armor What Gets Through
≤20 5% true damage
20~50 15% true damage
50~100 25% true damage
>100 35% true damage

Armor still matters. But it no longer makes you a god.


👹 Nemesis Memory System

Every player gets a personal file. The enemies remember:

Memory Type What They Learn How They Adapt
Kill Preference How you usually kill They gain resistances to your favorite method
Death Records What killed you last They start using that against you
Equipment History What gear you run They evolve counters to your build
Behavior Patterns Melee / Ranged / Magic Their AI shifts to exploit your habits

"I always opened with a fireball. Then the skeletons started spawning with Fire Resistance. Every. Single. Time."


🛡️ Newbie Protection

Not everyone starts as a legend. The mod knows:

Trigger Effect
Player strength below threshold Monster stats -30%
First death Protection extended by 10 minutes
3 deaths in a row Forced protection until you kill something

The system wants you to suffer. But it wants you to stick around to suffer more.


🐉 Boss Mechanics

Boss fights shouldn't end in two hits.

Mechanic What It Does
Damage Cap Single-hit damage capped (default 100), cap rises as Boss HP drops
Attribute Amp Boss HP ×5, damage ×3
Combat Tracking Records fight duration and total damage dealt
Phase Evolution Attack patterns shift as the fight drags on
Smart ID Recognizes Bosses by tag, type, name, or health threshold

🌩️ Invasion Event System

Sometimes the world doesn't wait for you to find trouble.

Feature Detail
Trigger Kill 25 surface undead (first time), 100 (after)
Weather Thunderstorm. Because atmosphere matters.
Waves Multi-wave assaults scaling with world stage
Direction Enemies come from North, South, East, or West
UI Boss bar tracks wave progress
Rewards Loot, XP, and effects for nearby players

Custom invasions via datapack: data/<namespace>/invasions/<name>.json


🔗 Mod Compatibility

Mod What Gets Integrated
🔮 Iron's Spells 'n Spellbooks Spell power, mana, cooldowns, magic resistance
⚔️ Epic Fight Hit resistance, impact, armor breaking, combos, stamina
✨ Apotheosis Gear quality, mythic affix tier evaluation
🐗 L2Hostility Compatibility mode skips overlapping scaling
📦 KubeJS Full event API, script extensions, config hot reload

⌨️ Commands

All /an commands. OP level 2 required.

Command What It Does
/an status Is the mod alive? What's it thinking?
/an strength [player] Full combat profile breakdown
/an difficulty Tweak the numbers
/an protection [player] Manage newbie shields
/an memory [player] Read the Nemesis file
/an scan [range] Inspect nearby scaled enemies
/an nemesis [type] Summon a personal nightmare
/an invasion trigger [type] [waves] [difficulty] Start the storm manually
/an test [module] Debug tools
/an reload Hot reload configs
/an help When you forget the above

🔧 KubeJS Integration

Script your own chaos.

Event When It Fires What You Can Do
adaptive_nemesis.entity_scale Mob spawns Override scaling multipliers per entity
adaptive_nemesis.damage_calculation True damage triggers Adjust or cancel conversion
adaptive_nemesis.player_strength_evaluation Strength recalculated Modify final score
adaptive_nemesis.nemesis_memory_update Memory milestone Custom rewards, triggers
adaptive_nemesis.world_stage_change Stage advances React to global progression
adaptive_nemesis.invasion_start Invasion begins Modify waves/difficulty or cancel
adaptive_nemesis.invasion_wave_start Each wave starts Inject custom logic
adaptive_nemesis.invasion_end Invasion ends Modify rewards based on outcome

📦 Datapack Support

No code required. Just JSON and spite.

  • data/<namespace>/world_stages/<name>.json — Stage rules, caps, invasion params
  • data/<namespace>/invasions/<name>.json — Custom invasions: waves, enemies, effects, rewards
  • data/<namespace>/nemesis/<name>.json — Nemesis profiles and behaviors

Hot-reloaded with F3+T.


🚀 Performance

Problem Solution
Entity calculation lag Regional caching + async updates
TPS drops on servers Player-list traversal + distance checks
Config reload lag Incremental sync, not full rebuild
Memory bloat On-demand loading, periodic archiving
Scaling timeout Watchdog detects and marks bad entities

⚔️ The Point

"Your power feeds their evolution."

This isn't a mod that makes the game harder. It's a mod that makes the game pay attention.

You want to feel your progression? You'll feel it. The enemies will make sure of it.

You want to coast in god gear? Not here. The world scales. It learns. It remembers.

Adaptive Nemesis doesn't nerf you. It respects you enough to stay dangerous.


⚔️ Every time you grow stronger, your Nemesis evolves. ⚔️

CurseForge Modrinth GitHub

How to Install [AN]Adaptive Nemesis (Mod)

[AN]Adaptive Nemesis by LOAE_U987 is verified for Forge, Neoforge across Minecraft versions 1.20.1, 1.21.1 (latest release: 1.0.18, file size: 589 KB). Follow the steps below to install it safely from ModCraft.tv:

  1. Click the Download button above and select your Minecraft version (1.20.1, 1.21.1) and platform (Forge, Neoforge).
  2. Make sure you have the compatible loader or environment installed for Forge, Neoforge.
  3. Move the downloaded [AN]Adaptive Nemesis file into your Minecraft .minecraft/mods folder and launch the game.

All Versions

+ Add Version
Name Game version Platforms Published Downloads Actions
1.21.1
Neoforge
1mo ago 1
1.20.1
Forge
1mo ago 1
1.20.1
Forge
2mo ago 1
1.21.1
Neoforge
2mo ago 1
1.21.1
Neoforge
3mo ago 1
1.21.1
Neoforge
4mo ago 1
1.21.1
Neoforge
4mo ago 1
1.21.1
Neoforge
4mo ago 1
1.21.1
Neoforge
4mo ago 1
1.20.1
Forge
4mo ago 1
1.21.1
Neoforge
4mo ago 1
1.21.1
Neoforge
4mo ago 1
1.21.1
Neoforge
5mo ago 1
1.21.1
Neoforge
5mo ago 1
1.21.1
Neoforge
5mo ago 1
1.21.1
Neoforge
5mo ago 1
1.21.1
Neoforge
6mo ago 1
1.21.1
Neoforge
6mo ago 1
1.21.1
Neoforge
6mo ago 1
1.21.1
Neoforge
6mo ago 1
1.21.1
Neoforge
6mo ago 1
1.21.1
Neoforge
6mo ago 1
1.21.1
Neoforge
7mo ago 1
<div align="center">

<h1>
<span style="color: #8B5CF6; text-shadow: 0 0 30px #8B5CF6, 0 0 60px rgba(139,92,246,0.2);">⚖️ Trial of the Nemesis · Walking on Water ⚖️</span>

<span style="color: #F59E0B; font-size: 0.5em; display: block; margin-top: 6px;">v1.0.18 — The Script Finally Wakes, and the Nemesis Walks Upon Water</span>
</h1>

<p align="center">
<img src="https://img.shields.io/badge/🎯_KubeJS_Example_Script-Fixed-8B5CF6?style=flat-square" alt="KubeJS Example Script Fixed">
<img src="https://img.shields.io/badge/❄️_Invasion_Wading-Frost_Walker_Aid-10B981?style=flat-square" alt="Invasion Wading Frost Walker Aid">
<img src="https://img.shields.io/badge/💡_Nemesis_Glow-Configurable-EF4444?style=flat-square" alt="Nemesis Glow Configurable">
</p>

<br>

<p><i>"First, we see which promises were never kept."</i></p>
<p><i>"Then, we make every step land on solid ground."</i></p>
<p><i>"Finally, we return the light to those who should decide it."</i></p>

</div>


<div align="center">

<h2>📖 This Update's Contents</h2>

</div>


## 🎯 I · The Script Finally Wakes

> *The command example shipped with the mod had never successfully loaded—not once since the day it was written.*
>
> *Every /reload, it left a vague error in the console, then fell silent. It was built upon an interface that was never implemented—the global binding it called did not exist, and the way it registered commands was a signature that was never real. The line the error pointed to was merely where the bad nesting landed, not where the problem began.*
>
> *Now, it has been rewritten in full.*

  • Script Rewritten** — The example script now uses the correct syntax, explicitly loads its parameter types, registers commands in the standard manner, and forwards requests to the mod's own native command.
  • Two Example Commands** — A quick trigger with default parameters, and an advanced trigger with configurable wave count and difficulty multiplier. Both require operator permission.
  • Ready to Use** — Drop it into the KubeJS script directory and it loads. No further edits required.

> *The script has woken. It can finally say what it always meant to say.*


## ❄️ II · Walking on Water

> *Invading enemies once feared the water.*
>
> *The aid of Frost Walker applied only at the moment of spawning—if an enemy happened to spawn on the surface of water, it would wear boots and spread a layer of frosted ice beneath its feet. But if it began on land and met water along the way, there was no aid at all. It fell in, sank, and was gone.*
>
> *That gap existed in both the old and new versions. Now it has been closed.*

  • Sustained Wading Aid** — While an invasion is active, the mod periodically scans all spawned invasion enemies and identifies those whose bodies are in water or whose feet rest on water.
  • Frost Walker Boots Applied** — If the enemy's feet lack a Frost Walker enchantment, boots are provided. If the enchantment is already present, it is skipped,
...
<div align="center">

<h1>
<span style="color: #8B5CF6; text-shadow: 0 0 30px #8B5CF6, 0 0 60px rgba(139,92,246,0.2);">⚖️ Trial of the Nemesis · Walking on Water ⚖️</span>

<span style="color: #F59E0B; font-size: 0.5em; display: block; margin-top: 6px;">v1.0.18 — The Script Finally Wakes, and the Nemesis Walks Upon Water</span>
</h1>

<p align="center">
<img src="https://img.shields.io/badge/🎯_KubeJS_Example_Script-Fixed-8B5CF6?style=flat-square" alt="KubeJS Example Script Fixed">
<img src="https://img.shields.io/badge/❄️_Invasion_Wading-Frost_Walker_Aid-10B981?style=flat-square" alt="Invasion Wading Frost Walker Aid">
<img src="https://img.shields.io/badge/💡_Nemesis_Glow-Configurable-EF4444?style=flat-square" alt="Nemesis Glow Configurable">
</p>

<br>

<p><i>"First, we see which promises were never kept."</i></p>
<p><i>"Then, we make every step land on solid ground."</i></p>
<p><i>"Finally, we return the light to those who should decide it."</i></p>

</div>


<div align="center">

<h2>📖 This Update's Contents</h2>

</div>


## 🎯 I · The Script Finally Wakes

> *The command example shipped with the mod had never successfully loaded—not once since the day it was written.*
>
> *Every /reload, it left a vague error in the console, then fell silent. It was built upon an interface that was never implemented—the global binding it called did not exist, and the way it registered commands was a signature that was never real. The line the error pointed to was merely where the bad nesting landed, not where the problem began.*
>
> *Now, it has been rewritten in full.*

  • Script Rewritten** — The example script now uses the correct syntax, explicitly loads its parameter types, registers commands in the standard manner, and forwards requests to the mod's own native command.
  • Two Example Commands** — A quick trigger with default parameters, and an advanced trigger with configurable wave count and difficulty multiplier. Both require operator permission.
  • Ready to Use** — Drop it into the KubeJS script directory and it loads. No further edits required.

> *The script has woken. It can finally say what it always meant to say.*


## ❄️ II · Walking on Water

> *Invading enemies once feared the water.*
>
> *The aid of Frost Walker applied only at the moment of spawning—if an enemy happened to spawn on the surface of water, it would wear boots and spread a layer of frosted ice beneath its feet. But if it began on land and met water along the way, there was no aid at all. It fell in, sank, and was gone.*
>
> *That gap existed in both the old and new versions. Now it has been closed.*

  • Sustained Wading Aid** — While an invasion is active, the mod periodically scans all spawned invasion enemies and identifies those whose bodies are in water or whose feet rest on water.
  • Frost Walker Boots Applied** — If the enemy's feet lack a Frost Walker enchantment, boots are provided. If the enchantment is already present, it is skipped,
...
<div align="center">

<h1>
<span style="color: #8B5CF6; text-shadow: 0 0 30px #8B5CF6, 0 0 60px rgba(139,92,246,0.2);">⚖️ Trial of the Nemesis · Reforging the Balance ⚖️</span>

<span style="color: #F59E0B; font-size: 0.5em; display: block; margin-top: 6px;">v1.0.17 — Health bars no longer lie, and nemeses finally leave treasure behind</span>
</h1>

<p align="center">
<img src="https://img.shields.io/badge/🐉_Ender_Dragon_Health_Bar-Fixed-8B5CF6?style=for-the-badge&logoColor=white" alt="Ender Dragon Health Bar Fixed">
<img src="https://img.shields.io/badge/💥_Boss_Multipliers-No_Longer_Doubled-EF4444?style=for-the-badge&logoColor=white" alt="Boss Multipliers No Longer Doubled">
<img src="https://img.shields.io/badge/🎁_Nemesis_Drops-New_Feature-10B981?style=for-the-badge&logoColor=white" alt="Nemesis Drops New Feature">
</p>

<br>

<p><i>"First, we see the imbalance."</i></p>
<p><i>"Then, we correct the scales."</i></p>
<p><i>"Finally, we make the nemesis worthy of its name."</i></p>

</div>


<div align="center">

<h2>📖 This Update's Contents</h2>

</div>


## 🐉 1 · The Ender Dragon's Health Bar Finally Stops Lying

> *Have you ever encountered this:*
>
> *An Ender Dragon with a Champion modifier descends in all its glory, yet its health bar is pitifully short—less than a tenth of what it should be. You strike it once, and it falls. Not because it was weak, but because its heart was empty from the very beginning.*
>
> *Now, this problem has been completely fixed.*

  • 🐉 What we did:**

  • Health Bar Correction**: Bosses now restore their health based on their **true maximum health**, rather than the "base value" before third-party mod bonuses. The higher the Champion modifier stacks, the higher the health bar will be, eliminating the awkward scenario of "a strong dragon with very little health."
  • Safeguard**: A fallback has been added—even if adaptive scaling fails to trigger for some reason (no players nearby, entity blacklisted, scaling timed out), the Boss will automatically refill its health to the true maximum on the next tick. The imbalance will no longer be written into the save.

> *The dragon has a heart again. This time, the health bar tells the truth.*


## 💥 2 · Boss Multipliers Are No Longer Secretly Doubled

> *Some bosses were meant to be strong.*
>
> *But too strong is not a surprise—it's a shock.*
>
> *Previously, the health and damage of certain bosses (such as the Ender Dragon and the Wither) were **stacked twice with the same multiplier**—not by design, but due to a small mistake in the order of reading values. The result: you thought you were facing a buffed boss, but in reality, you were facing a moving wall.*

  • 💥 What we did:**

  • Corrected the reading order for "original values." It now checks in sequence:
1. Original values recorded in old saves (compatible with legacy saves)
2. True original values recorded before scaling
3. Default attributes for the entity type
4. Current base value as
...
# 📜 Adaptive Nemesis Changelog


## v1.0.16 (2026-08-30) 🎯

### ⏳ Feature: Nemesis Auto-Despawn

  • NemesisConfig.java**: Added 3 new config options:
  • ENABLE_NEMESIS_AUTO_DISAPPEAR — toggle on/off
  • NEMESIS_AUTO_DISAPPEAR_SECONDS — lifetime (default: 300s / 5 min)
  • NEMESIS_DISAPPEAR_MESSAGE — despawn notification message
  • NemesisSystem.java**: Added nemesisSpawnTimes Map to track each nemesis spawn timestamp. New onEntityTick() periodically polls and auto-discard()s entities past their lifetime.
  • NemesisSystem.java**: Records spawn time in both convertToNemesis() and convertToNemesisManual() — command-spawned nemeses are equally controlled.
  • zh_cn.json / en_us.json**: New translation key adaptive_nemesis.nemesis.disappear
  • 🇨🇳 *"%s 已经消失了..."*
  • 🇬🇧 *"%s has disappeared..."*
  • Effect**: Nemeses (natural spawn or command-summoned) automatically vanish after the configured duration, preventing performance bloat and gameplay imbalance from permanent stragglers.


### 🔧 Fix: Config Type Switched to SERVER — Multiplayer Sync

  • AdaptiveNemesisMod.java**: Config registration changed from COMMON → SERVER. Server becomes config authority; NeoForge auto-syncs to all clients.
  • Config.java**: Added isServerSide() environment check. saveToFile() now has server-side protection — multiplayer clients no longer attempt to write read-only configs.
  • AdaptiveNemesisConfigScreen.java**: Added readOnly field. Multiplayer client controls are greyed out with a read-only hint to prevent accidental edits.
  • AdaptiveNemesisConfigScreen.java**: markChanged() now has read-only guard — multiplayer clients are blocked from saving.
  • en_us.json / zh_cn.json**: New localization key readonly_hint for the read-only tooltip.
  • ⚠️ **Note**: Config file renamed from adaptive_nemesis-common.toml → adaptive_nemesis-server.toml. Existing configs need manual migration.


### 💥 Fix: Enchantment Scaling Causing Save Crashes (Reconnect Failure)

  • EnchantmentScalingHandler.java**: Resets enchantment caches on server shutdown (resetCaches() method) — prevents Holder.Reference<Enchantment> stale references from singleton pattern.
  • EnchantmentScalingHandler.java**: Validates Holder validity in applyCoreEnchantments() with double-check on ResourceKey existence in server registry.
  • EnchantmentScalingHandler.java**: Added holder.isBound() validation in applyModCompatibleEnchantments() to prevent network encoding failures.
  • InvasionSystem.java**: Added Holder validation in applyFrostWalkerBoots() to prevent Frost Walker enchantment from causing network encoding exceptions.
  • ModEventHandler.java**: Calls EnchantmentScalingHandler.resetCaches() on ServerStoppingEvent, ensuring stale references are purged on shutdown.
  • EnchantmentScalingHandler.java**: Fixed collectCompatibleEnchantments() Holder.unwrapKey() API call.


### 🔄 Fix: Invasion
...
# Adaptive Nemesis Changelog ⚔️🐉


## v1.0.15 (2026-08-09)

### 🧙 Fixed: Iron's Spells spell resist / power scaling going haywire (non-Nemesis mobs were getting buffed too)

  • Issue:** Every single mob in the world was getting spell resistance and spell power boosts — not just your personal Nemesis. This meant mages with multi-hit, low-cooldown, or summon-heavy builds saw their damage get chipped away mob-by-mob, even against random trash. Not fun. 😤
  • Fix — IronsSpellsCompat.java:**
  • maxSpellPowerMultiplier and maxSpellResistMultiplier were **dead configs** — the code never actually read them. Now applyMobBuffs properly clamps spell strength / casting resource multipliers to maxSpellPowerMultiplier (default 4.0) and spell resist multipliers to maxSpellResistMultiplier (default 3.0). Tweak [enemyBonusCaps] in adaptive_nemesis-common.toml and it actually does something! 🎛️
  • Added **Nemesis-only check** in applyMobBuffs — spell resist / power / mana bonuses now only apply to mobs carrying the Nemesis NBT tag (NemesisSystem.NEMESIS_TAG). Regular mobs are left alone. Your fireball barrage can finally breathe against hordes. 🔥
  • New tag system — NemesisSystem.java:**
  • New constant NEMESIS_TAG. convertToNemesis / convertToNemesisManual now stamp mobs with this tag on transformation.
  • Command fix — SummonNemesisCommand.java:**
  • /an nemesis spawned Nemeses also get the tag now. Consistency! 🏷️
  • Registration order fix — AdaptiveNemesisMod.java:**
  • Nemesis spawn system (NemesisSystem) now registers **before** the enemy scaling handler. This guarantees that when EntityJoinLevelEvent fires, the Nemesis conversion (tag stamping) happens **before** adaptive scaling kicks in. Previously it was registered in commonSetup — *after* EnemyScalingHandler — so Nemeses got treated as regular mobs and missed their spell bonuses. Order matters! ⏳
  • Smarter player assessment — IronsSpellsCompat.java:**
  • getPlayerSpellStrength now uses **max mana** (AttributeRegistry.MAX_MANA) instead of **current mana** to evaluate player spell power. No more random power dips because you just cast a big spell and your mana bar dropped — scaling stays stable. 📊


## v1.0.15 (2026-08-09)

### 🖥️ Fixed: Config screen scroll animation stuttering & text flickering

  • Issue:** Scrolling through the config menu felt like a slideshow — text jittered at ~20fps and flickered badly on lower-end setups.
  • Fix — AdaptiveNemesisConfigScreen.java:**
  • Replaced janky tick-by-tick scroll jumps with proper Mth.lerp(partialTick, lastScroll, currentScroll) interpolation. Smooth 60fps buttery scrolling. 🧈
  • tick() now records last-tick scroll position and snaps to target when close, killing animation tail wobble.
  • Cached translated Component objects for all 130+ config entries — no more creating translation objects every single frame. Less CPU burn, more frames. ⚡
  • Scrollbar thumb position now syncs
...
## Community feedback: Add a feature to disable certain parts and a blacklist for weapon equipment, which can be modified in the configuration interface
## Fix issue: InvasionCommand directly passes the custom object InvasionType to Component.translatable(...), resulting in serialization failure when the client receives the system_chat data packet, disconnection, and return to the title screen
## A small patch has been released to fix the issue with the /an invasion command in version 1.0.12
<div align="center">

<br><br>

<h1>
🌐
<span style="color: #e65100; text-shadow: 0 0 20px #e65100;">[Adaptive Nemesis]</span>
<span style="color: #888888;">v1.0.12</span>
🌐
</h1>

<p><b><span style="color: #4ECDC4;">THE WORLD SPEAKS YOUR LANGUAGE NOW.</span></b></p>
<p><i>And it has a lot more to say.</i></p>

<br>

<img src="https://img.shields.io/badge/🌐_FULL_I18N-4ECDC4?style=for-the-badge&logo=translate&logoColor=white">
<img src="https://img.shields.io/badge/👹_NEMESIS_SAFE-9B59B6?style=for-the-badge&logo=shield&logoColor=white">
<img src="https://img.shields.io/badge/🏰_DATAPACK_POWER-FF6B6B?style=for-the-badge&logo=package&logoColor=white">
<img src="https://img.shields.io/badge/🔗_KUBEJS_EVENTS-45B7D1?style=for-the-badge&logo=code&logoColor=white">

</div>

## ✨ NEW SYSTEMS & ENHANCEMENTS

</div>


### 🌐 FULL INTERNATIONALIZATION (I18N) REFACTOR

<div align="center">

| Before | After | What Changed |
|:---:|:---|:---|
| Component.literal("亡灵军团正在逼近...") | Component.translatable("adaptive_nemesis.invasion.approaching") | **Every** user-facing string is now a translation key |
| Hardcoded Chinese | Language files | en_us.json + zh_cn.json — add your own! |
| MELEE("近战") | MELEE("adaptive_nemesis.combat_style.melee") | Combat styles, warnings, broadcasts — all localized |

</div>

  • New Translation Keys (10+ added):**

<div align="center">

| Key | English | 中文 | When You See It |
|:---:|:---|:---|:---|
| invasion.approaching | *Undead legion approaching...* | 亡灵军团正在逼近... | The storm begins |
| invasion.wave_cleared | *Wave %s cleared!* | 第 %s 波已清除! | You survived a wave |
| invasion.defeated | *Undead legion defeated!* | 亡灵军团已被击败! | Victory |
| nemesis.appearance_warning | *⚠ Nemesis appeared!* | ⚠ 宿敌出现! | Something bad just got worse |
| combat_style.melee | *Melee* | 近战 | Nemesis archetype display |

</div>

> 🌍 *"I switched my client to English. The invasion warned me in English. The Nemesis cursed me in English. It felt personal."*


### 👹 NEMESIS SYSTEM — CRASH-PROOF & SMARTER

  • The Problem:** *Some modded mobs don't have attack damage. Nemesis tried to buff it. Game crashed. Everyone sad.*

  • The Solution:** *Check first. Buff second. Live to fight another day.*

<div align="center">

| Feature | What It Does | Default |
|:---:|:---|:---:|
| NEMESIS_REQUIRE_ATTACK_DAMAGE | Only convert mobs that can actually fight | ✅ true |
| **Null-Proof Attribute Checks** | getAttribute() → null check → apply or skip | Always on |
| **Pacifist Protection** | Passive mobs, decorative entities, weird modded things — they stay normal | Always on |

</div>

  • What Gets Checked Now:**

  • ❤️ Max Health — *exists? buff it. missing? skip gracefully.*
  • ⚔️ Attack Damage — *exists? buff it. missing? skip gracefully.*
  • 🛡️ Armor — *exists? buff it. missing? skip gracefully.*
  • ⚡ Movement Speed — *exists? buff it. missing? skip gracefully.*

> 🛡️ *"My modded flamingo no longer crashes the game when it tries to become a
...
<div align="center">
<br><br>

<h1>
⚔️
<span style="color: #e65100; text-shadow: 0 0 20px #e65100;">[Adaptive Nemesis]</span>
<span style="color: #888888;">v1.0.11</span>
⚔️
</h1>

<p><b><span style="color: #ff6b6b;">THE WORLD ADAPTS TO YOU.</span></b></p>
<p><i>Are you ready to adapt back?</i></p>

<br>

<img src="https://img.shields.io/badge/🏰_INVASION_EVENTS-FF6B6B?style=for-the-badge&logo=fire&logoColor=white">
<img src="https://img.shields.io/badge/👹_NEMESIS_SYSTEM-9B59B6?style=for-the-badge&logo=skull&logoColor=white">
<img src="https://img.shields.io/badge/🏷️_BOSS_ID_REWORK-4ECDC4?style=for-the-badge&logo=tag&logoColor=white">
<img src="https://img.shields.io/badge/⚔️_EQUIPMENT_OVERHAUL-45B7D1?style=for-the-badge&logo=sword&logoColor=white">

</div>


<div align="center">

## 🎬 CINEMATIC TRAILER

</div>

> *The undead no longer wander aimlessly.*
>
> *They are gathering. They are watching. They are adapting.*
>
> *Among the common mobs, souls of legend stir — waiting for the worthy.*
>
> *And when the storm comes... it won't be random.*
>
> *It will be **personal**.*


<div align="center">

## ✨ NEW SYSTEMS

</div>


### 🏰 INVASION EVENT SYSTEM

<div align="center">

| Feature | Description | How to Trigger |
|:---:|:---|:---|
| 🌩️ **Natural Spawn** | Kill enough surface undead. The world takes notice. | Play the game. Seriously. |
| ⌨️ **Command** | /an invasion trigger — summon the storm at will. | Type it. Pray. |
| 📝 **KubeJS API** | Script your own invasions. Be the puppet master. | adaptiveNemesis.triggerUndeadInvasion(player) |
| 📦 **Datapack** | data/adaptive_nemesis/invasions/*.json — craft your apocalypse. | JSON + creativity |

</div>

  • What You Get:**

  • 🌊 **1-6 Waves** of enemies from **North, South, East, West**
  • ⛈️ **Thunderstorm weather** when active — the sky itself joins the fight
  • 🏆 **Victory broadcast** to all warriors in the area — *you earned the bragging rights*

> 💀 *"They came from all directions. The ground shook. And then... silence."*


### 👹 NEMESIS SPAWN SYSTEM

<div align="center">

| Rarity | Chance | What Happens |
|:---:|:---:|:---|
| 💎 **1%** | 0.01 | A common mob **awakens**. Gains a title. Gains power. Gains a grudge. |

</div>

  • The Nemesis Rises With:**

  • ❤️ **Boosted HP** — they don't go down easy
  • ⚔️ **Boosted ATK** — they hit like a truck
  • 🛡️ **Boosted Armor** — your iron sword weeps
  • ⚡ **Boosted Speed** — you can't outrun destiny
  • 🚫 **Knockback Resistance** — they don't flinch

  • Titles by Archetype:**

<div align="center">

| Archetype | Prefix Pool | Suffix Pool |
|:---:|:---|:---|
| 🔴 **Melee** | Berserk, Brutal, Bloodthirsty, Savage, Ruinous | Butcher, Slayer, King, Destroyer, Avenger |
| 🟢 **Ranged** | Precise, Deadly, Swift, Sniper, Venomous | Hunter, Marksman, Stalker, Ravager |
| 🔵 **Magic** | Mystic, Cursed, Arcane, Shadow, Blazing | Warlock, Hexer, Sorcerer, Reaper |

</div>

> 🔥 *"I thou
...
<div align="center">

<h2> <span style="color: #FF6B6B; text-shadow: 0 0 20px #FF6B6B;"> ⚔️ Adaptive Nemesis v1.0.10 ⚔️ </span> </h2>

<img src="https://img.shields.io/badge/✨_UX_Improvement-4ECDC4?style=flat-square"> <img src="https://img.shields.io/badge/🎨_UI_Rework-9B59B6?style=flat-square"> <img src="https://img.shields.io/badge/📦_Patch-FFB020?style=flat-square">

<p><i>Tired of squinting at tiny input boxes? So were we.</i></p>
<p><i>Now you can edit those long lists in comfort.</i></p>

</div>


## 📋 What's New

<div align="center">

| Type | Change | Details |
| :----- | :------- | :-------- |
| **✨ Added** | Long Text Edit Screen | A dedicated modal for editing lengthy config fields |
| **🔧 Reworked** | Config UI | Replaced cramped input boxes with preview buttons + popup editing |
| **📦 Bumped** | Mod Version | 1.0.9 → 1.0.10 |
| **🧹 Cleaned** | Temp Files | Removed the temporary refactor review report |

</div>


## 🎯 Why This Matters

Ever tried editing a massive entity blacklist or a long list of Boss exclusions in a tiny 320px-wide box? **Painful.**

Now those fields show a **preview button** (first 16 chars) that opens a **full-screen modal** with:

  • 🖊️ A wide, adaptive text box (up to 640px)
  • 🔢 Live character count badge
  • ✨ Smooth fade-in animation
  • 🟠 Clean, dark-themed UI matching the main config screen


## 🔄 Affected Config Fields

<div align="center">

| Config Field | What It Does |
| :------------- | :------------- |
| **Boss Damage Cap Exclusions** | List of bosses immune to the damage cap system |
| **Entity Blacklist** | Entities excluded from adaptive scaling |
| **Debug Log File Path** | Custom path for debug output |

</div>


## ⚠️ Heads Up

> **No breaking changes.** Your existing config files will work exactly as before.
>
> The only difference is *how* you edit them — and it's a lot nicer now.


<div align="center">

> 💡 **Tip**: Found a bug or have a suggestion? Open an issue on the repo!
> *✨ Long Text, Made Easy ✨*
[![GitHub](https://img.shields.io/badge/GitHub-View_Commits-181717?style=for-the-badge&logo=github&logoColor=white)](https://github.com/LOVE-U987/Adaptive-Nemesis)
</div>




# 🌟 Anadaptive Nemesis – Update 1.0.9

## “The Smooth Operator” Release

> *We cleaned up the guts of the mod so you can enjoy a smoother, fairer, and more responsive experience – without even noticing the work behind the scenes.*


## 🎯 TL;DR – What’s New for You?

  • ⚡ Game feels faster** – less lag, especially on busy servers or when lots of mobs are around.
  • 🎯 Boss fights are more consistent** – bosses are now properly recognised, so their special damage caps work every time.
  • 🛡️ True damage (armour‑bypassing damage) is now smarter** – high‑armour players won’t get unfairly one‑shot.
  • 📈 Difficulty scaling is smoother** – no more random difficulty spikes that feel like cheating.
  • 🔧 Configuration is easier for pack makers** – but for you, it just means fewer bugs and faster updates.
  • 🐛 Lots of bugs squashed** – including some that could crash your game or break boss fights.


## 🚀 Performance – Your TPS Just Got a Raise

We made the mod **much more efficient** under the hood. Here’s what you’ll actually feel:

  • Boss checks are now cached** – so the game doesn’t waste time re‑checking if something is a boss every single hit. Result: **smoother combat**.
  • Player tracking is smarter** – the mod only looks at nearby players when scaling enemies, instead of scanning the whole server. **Multiplayer servers will thank you**.
  • Item and enchantment lookups are pre‑computed** – so when a mob spawns, the game already knows what gear to give it. **Faster spawns, less stutter**.

In numbers: we saw up to **99% faster** in some internal operations – which translates to **noticeably less lag** in big battles or crowded worlds.


## 🐛 Major Bug Fixes – The Ones That Mattered

| Issue | What was broken | Now it’s fixed |
|-------|----------------|----------------|
| **Boss misidentification** | Some modded bosses weren’t recognised as bosses, so their damage caps and special rules didn’t apply. | Bosses are now correctly identified every time – fair fights, no surprises. |
| **True damage miscalculation** | High‑armour players sometimes took way too much armour‑bypassing damage. | True damage now scales in stages – tanky players get the protection they deserve. |
| **Difficulty spikes** | The difficulty curve had sharp jumps that felt unfair. | We switched to a standard smooth formula – difficulty ramps up gradually and naturally. |
| **Local difficulty dilution** | Players far away could affect the difficulty near you (making it easier or harder incorrectly). | Now only nearby players influence your local scaling – your fight, your challenge. |
| **Crash risks** | Some edge cases could cause the game to crash when scaling certain modded mobs. | We added better error handling – no more mysterious crashes. |


## ⚙️ Behind the Scenes – What Pack Makers Should Know

If you’re a modpack creator or a tinkerer:

  • The configuration file has been **split into smaller, logical sections** – much easier to find and tweak settin
...
## The issue of the server not being able to start has been resolved
<!--
Adaptive Nemesis
v1.0.7 Changelog - Stability & Anti-Explosion Update
English Version
  • >

<div align="center">


<br><br>

<h1>
⚔️
<span style="color: #ff4444; text-shadow: 0 0 20px #ff0000;">Adaptive Nemesis</span>
<span style="color: #888888; font-size: 0.6em;">v1.0.7</span>
⚔️
</h1>

<p><i>Every time you grow stronger, your Nemesis evolves</i></p>

<img src="https://img.shields.io/badge/🐕_Watchdog_Service-FF6B6B?style=flat-square">
<img src="https://img.shields.io/badge/🔧_Deadlock_Fix-9B59B6?style=flat-square">
<img src="https://img.shields.io/badge/⚔️_Weapon_Damage_Cap-2ECC71?style=flat-square">

</div>


## 📋 TL;DR

| Item | Description |
|:---|:---|
| **Impact Scope** | **High** — Fixes server deadlock/crash issues and refactors Boss attribute amplification |
| **Core Changes** | Watchdog service, chunk loading deadlock fix, dynamic weapon damage cap, Boss anti-HP-explosion |


## 🐕 Watchdog Service (New)

  • File:** WatchdogService.java (New)

Monitors server main thread for deadlocks, auto-detects and outputs thread dumps.

| Config | Type | Default | Description |
|:---|:---:|:---:|:---|
| enableWatchdog | Boolean | true | Enable watchdog service |
| watchdogCheckInterval | Int | 5 | Check interval (seconds) |
| watchdogWarnThreshold | Int | 30 | Warning threshold (seconds) |
| watchdogCriticalThreshold | Int | 60 | Critical threshold (seconds) |

  • Two-Level Detection:**

  • ⚠️ **Warning (30s):** Logs current entity being processed
  • 🚨 **Critical (60s):** Outputs full thread dump, marks problematic entity

  • Problem Entity Tracking:** Adds frozen entities to problematicEntities set; EnemyScalingHandler skips these to prevent repeated deadlocks.


## 🔧 Chunk Loading Deadlock Fix

  • Affected Files:**

  • EnemyScalingHandler.java
  • EnchantmentScalingHandler.java

  • Root Cause:** AABB + getEntitiesOfClass() in EntityJoinLevelEvent / FinalizeSpawnEvent triggers chunk loading within range, deadlocking with ongoing world generation (especially with Cataclysm and similar structure mods).

  • Solution:**

``java
// ❌ Old code (triggers chunk loading)
AABB searchBox = new AABB(...);
List<<ServerPlayer> nearbyPlayers = serverLevel.getEntitiesOfClass(ServerPlayer.class, searchBox);

// ✅ New code (safe iteration, no chunk loading)
double rangeSq = range * range;
List<<ServerPlayer> nearbyPlayers = new ArrayList<>();
for (ServerPlayer player : serverLevel.getServer().getPlayerList().getPlayers()) {
if (player.level() == serverLevel && player.distanceToSqr(mob) <= rangeSq) {
nearbyPlayers.add(player);
}
}
`

  • New Defenses:**

  • SCALE_TIMEOUT_TAG — Auto-marks entity as problematic if scaling exceeds 30 seconds
  • Try-catch in onEntityJoinLevel() — Prevents third-party mod exceptions from crashing server
  • Watchdog integration — Updates status before/after entity processing


## ⚔️ Dynamic Weapon Damage Cap

  • Affected Files:**

  • Config.java
  • EnchantmentScalingHandle
...
<div align="center">

<br><br>

<h1>
⚔️
<span style="color: #ff4444; text-shadow: 0 0 20px #ff0000;">Adaptive Nemesis</span>
<span style="color: #888888; font-size: 0.6em;">v1.0.6</span>
⚔️
</h1>

<p><i>Every time you grow stronger, your Nemesis evolves</i></p>

<img src="https://img.shields.io/badge/🌍_Bilingual_UI-FF6B6B?style=flat-square">
<img src="https://img.shields.io/badge/📝_Command_Localization-9B59B6?style=flat-square">
<img src="https://img.shields.io/badge/🌐_i18n_Support-2ECC71?style=flat-square">

</div>


## 📋 TL;DR

| Item | Description |
|:---|:---|
| **Impact Scope** | **Medium** — All UI messages across 10 command classes |
| **Core Change** | Added English translations to all command output messages, bilingual display |
| **Format** | Mixed Chinese/English and Chinese [English] formats |


## 📝 Command Localization

### Translation Format

| Format | Example | Usage |
|:---|:---|:---|
| **Slash separator** | Status/Status: Enabled(已启用) | Most messages |
| **Bracket suffix** | This command can only be executed by players §7[此命令只能由玩家执行] | Error messages |
| **Mixed format** | Note/注意: Changes will take effect after restart §7[配置更改将在下次重启后生效] | Warnings |


### Affected Commands

| Command | Messages Updated | Special Handling |
|:---|:---:|:---|
| **DifficultyCommand** | 12 | Difficulty settings, true damage settings |
| **HelpCommand** | 10 | All help descriptions |
| **MemoryCommand** | 10 | Combat records, KDA statistics |
| **ProtectionCommand** | 9 | Newbie protection status |
| **ReloadCommand** | 2 | Reload notifications |
| **ScanCommand** | 12 | Scan results, attribute display, added English mapping switch |
| **StatusCommand** | 10 | Player status, config display |
| **StrengthCommand** | 9 | Strength details |
| **SummonNemesisCommand** | 7 | Summon messages, Nemesis names |
| **TestCommand** | 50+ | All test output messages |


### ScanCommand English Mapping

Added English translation mapping for scanned attributes:

``java
String nameEn = switch (name) {
case "血量/HP" -> "HP";
case "攻击/Damage" -> "Damage";
case "护甲/Armor" -> "Armor";
case "攻速/Atk Speed" -> "Atk Speed";
case "韧性/Toughness" -> "Toughness";
default -> name;
};
``


## 🐛 Bug Fixes

None — This is a pure localization update with no functional changes.



<div align="center">

  • ⚔️ As the Nemesis evolves, so do we ⚔️**

[![GitHub](https://img.shields.io/badge/GitHub-View_Commits-181717?style=for-the-badge&logo=github&logoColor=white)](https://github.com/LOVE-U987/Adaptive-Nemesis)

</div>

[AN]Adaptive Nemesis Icon
Download [AN]Adaptive Nemesis
Select game version
Select platform