promotional bannermobile promotional banner

Wild Battle API

Shared wild battle AI API for Cobblemon.

File Details

Wild Battle API 1.1.2-NeoForge

  • R
  • Mar 16, 2026
  • 247.94 KB
  • 355.5K
  • 1.21.1
  • NeoForge

File Name

wild_battle_api-neoforge-1.1.2.jar

Supported Versions

  • 1.21.1

Curse Maven Snippet

NeoForge

implementation "curse.maven:wild-battle-api-1478863:7765020"
Curse Maven does not yet support mods that have disabled 3rd party sharing

Learn more about Curse Maven

- Added separate Wild and Boss AI preset selection, so normal encounters and boss-style encounters can use different difficulty profiles.
- Added in-game admin commands for status, providers, config/rule reload, import/export, and AI debug toggles.
- Added AI explain logging to show top move choices and scoring breakdowns for balancing and debugging.
- Added JSON-based AI rules with a commented example template, so encounter-specific behavior can be customized without coding.
- Added optional special-encounter hooks like outbreak boss routing.
- Fixed delegated AI provider refresh issues, so per-battle AI state no longer gets reused incorrectly.
- Improved provider registry handling with stable namespaced ids and cleaner `/wildbattleapi providers` output.
- Cleaned up the difficulty screen so both Wild and Boss preset controls fit cleanly on one screen with clearer wording.
- Improved explain logs so damaging move proc effects are shown properly instead of being hidden inside base score.
- Fixed `Stockpile` evaluation so the AI stops trying to stack it past its real cap.
- Improved Battle Tower boss move handling for custom damaging status moves like `BT Gold Rush`, `BT Smite`, and `BT Malodor`, so they score more appropriately.