promotional bannermobile promotional banner

Wild Battle API

Shared wild battle AI API for Cobblemon.
Back to Files

Wild Battle API 1.1.2-Fabric

File namewild_battle_api-fabric-1.1.2.jar
Uploader
RagutoRaguto
Uploaded
Mar 16, 2026
Downloads
136.4K
Size
247.1 KB
Mod Loaders
Fabric
File ID
7765021
Type
R
Release
Supported game versions
  • 1.21.1

Curse Maven Snippet

Fabric

modImplementation "curse.maven:wild-battle-api-1478863:7765021"

Learn more about Curse Maven

What's new

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

This mod has no additional files