Modrinth · Fabric, NeoForge

Cobblemon: Run & Bun(Advanced Trainer AI) on your Minecraft server

Cobblemon: Run & Bun(Advanced Trainer AI) runs on Minecraft servers with Fabric or NeoForge. Order your server, set the loader in the panel and install the mod with one click in the mod browser.

A much more advanced trainer AI API following the Run and Bun 1.07 community doc and beyond. Dependent on Radical Cobblemon Trainers and COBBLEMON 1.7 Replaces RCT API

Downloads
597.2K
Author
jghooten
Loader
Fabric, NeoForge
Minecraft
1.21.1
Updated
–

Setup

Install Cobblemon: Run & Bun(Advanced Trainer AI) on your server

The server and players need the same loader and Minecraft version. Back up the world before adding or updating mods.

  1. 01

    Configure

    4 GB of RAM is preselected. You choose the term and add-ons and pay by credit card or PayPal.

  2. 02

    Set the loader

    In the panel, set the server software to Fabric or NeoForge and choose the matching Minecraft version, for example 1.21.1.

  3. 03

    Install the mod

    Search the mod browser for “Cobblemon: Run & Bun(Advanced Trainer AI)” and install the release for your loader. Alternatively, upload the .jar to the mods folder via SFTP. Required dependencies are listed on the project page.

  4. 04

    Connect

    Every player installs the same Cobblemon: Run & Bun(Advanced Trainer AI) release locally and connects using the server address from the panel.

On the server
Required
On the client
Required
Loader
Fabric, NeoForge
Minecraft
1.21.1
License
GNU Affero General Public License v3.0 or later

The panel

Install mods, find errors.

Real screenshots from the Mado panel. Both come with every Minecraft server.

Mod browser

Modrinth and CurseForge, right in the panel.

The browser filters by your Minecraft version. Install mods with one click, without uploading .jar files.

Browser in the Mado panel with search, a CurseForge or Modrinth source switch and install buttons.

AI crash analysis

When a mod crashes, the analyzer reads the log.

Mods often fail on a wrong loader version, Java version or missing dependency. The analyzer names a likely cause and suggests a fix.

Optimization page in the Mado panel with the AI Log Analyzer enabled and a “Server Crashed” notice with an “Analyze Now” button.

Releases

Published releases

Pick the file that matches your server’s loader and Minecraft version. The server and players need the same release.

Cobblemon: Run & Bun(Advanced Trainer AI) · Modrinth
Original description by the project author
RUN AND BUN AI FOR COBBLEMON!!
New Update is out! Add-on Update 0.16:

Dynamax Update! and 1.8 Cobblemon Compatible

Check out the changelog for all the details


DOCUMENTATION


IMPORTANT ANNOUNCEMENT!

For all versions at or after 0.15, this mod is now an add-on to the Radical Cobblemon Trainers API. Originally, this was a replacement for that mod, but in the new 0.15 version, this has changed. Now this mod is dependent on the Radical Cobblemon Trainers API to function, meaning you must have both in your mods folder for it to work.

If you update the Radical Cobblemon Trainers mod, it auto-downloads the Radical Cobblemon Trainers API. If not, you can install the latest version of Radical Cobblemon Trainers API manually.

BIG shoutout to the developer of the Radical Cobblemon Trainers, Hdainester, for putting together this add-on version for me.


Message me for questions, requests, and bugs (check out known issues at the bottom).

[email protected]

or submit issues here:

Issues

If you want some pre-made fights and gym progression, check out my datapack and resource pack to go with it.

Trainer Datapack

Trainer Skin Resource Pack


Key Features:

-Dynamic Decision Making: Evaluates moves and switches in real-time based on damage, type matchups, speed, and opponent potential.

-Damage Calcs: Prioritizes OHKOs, 2HKOs, and high-damage opportunities while following a greedy algorithm.

-Intelligent Switching Logic: Scores potential party swaps, preferring faster counters, safer pivots, and even special picks like Ditto or Wobbuffet/Wynaut.

-Move Scoring System: Assigns smart scores to each move based on type effectiveness, status potential, hazards, stat drops, and tons of special cases, allowing the trainer to pick the potential best move.

-Room Awareness: Tracks Spikes, Stealth Rock, Trick Room, Weather effects, etc. Allowing for a more complete understanding of the current battle context for better move scoring.

-Speed Control Mechanics: Recognizes when to set up Tailwind, Trick Room, etc.

-Mega Showdown: Mega transformations are used instantly. Tera is more complex with the new update. You can now choose who to Tera in your JSON, and the first Cobblemon matching that name will Tera. Tera is also a toggle to turn on and is off by default. Check out the changelog for version 0.14.6 for Tera Logic. (No Z-moves, No Dynamax)

-Singles and Doubles Format


Future Roadmap
  1. Make this mod an addon to Radical Cobblemon Trainers API so both can be operational together. 0.15.0? (Done)

  2. Look into tying my data pack with some cool fights into this download, along with the appropriate resource pack.

  3. Basic Dynamax logic, and maybe some Z-Move stuff.

  4. Add more control in the config (not sure what to change rn).

  5. Continue putting new moves into scoring consideration.

  6. Look into weather change ability logic.

If you have any suggestions, please let me know. I will consider all and let you know my thoughts. (Please leave a basic reason for each suggestion, as I am more likely to add it)


Required Mods:

Cobblemon 1.7

Radical Cobblemon Trainers 0.17.x

Radical Cobblemon Trainers API 0.14.x


PSA:

DOUBLE BATTLES ARE NOW OPERATIONAL!!!

Tons of special circumstances have already been accounted for, and the list will keep on growing as we test and add in more features.


Donate: https://ko-fi.com/surilexa

If you like what we are making, feel free to leave a donation; any amount is appreciated and allows us to continue working on this project.


Compatibility Issues

Due to recent changes in version 0.15, this mod now depends on the Radical Cobblemon Trainers API rather than replacing it. You must also have Radical Cobblemon Trainers API in your mod folder for this mod to work.


Compatibility with other mods

Secret Base Trainers: Version 0.16.1+ allows you to use a command to force overwrite the AI model of clones.

How to do this:

  1. Create a clone with all modifications and save.
  2. Use command 1 to force-swap trainers nearby to a new AI model.
  3. Use command 2 to check for the new AI model tag.
Command 1: /data merge entity @e[type=cobblemon_secret_base_trainer:battle_clone,sort=nearest,limit=1] {AIDifficulty:"rb"}

Command 2: /data get entity @e[type=cobblemon_secret_base_trainer:battle_clone,sort=nearest,limit=1] AIDifficulty

Things to consider for this mod:

  1. Overwriting the AI will only create a default "rb" config file. Meaning mega, tera, and dynamax will be off by default.
  2. If you resave a clone after changing its AIDifficulty to "rb" it will reset, and you will need to use the command again to force it back to "rb".
  3. If you want more features, let me know so I can work on them. Ex. Mega, Tera, and Dynamax being enabled.

Example of RCTMOD JSON using this AI
/*Strings are lowercase for a reason because Cobblemon will not recognize them otherwise*/
{
  "name": "Brock",
  "ai": {
    "type": "rb", //our AI tag
    "data": {
      "canTera": true, //This will turn on Tera logic
      "teraTarget": "geodude", //This will make it so the first geodude will tera 
      "canDynamax": true, // This will toggle Dynamax on
      "dynamaxTarget": "geodude", //This will force Dynamax on Geodude
      "canGmax": true  //This will toggle G-Max for all species
    }
  },
  "battleFormat": "GEN_9_SINGLES", //("GEN_9_DOUBLES")
  "team": [
    {
      "species": "geodude",
      "gender": "MALE",
      "level": 12,
      "nature": "adamant",
      "ability": "sturdy",
      "moveset": [
        "rollout",
        "magnitude"
      ],
      "ivs": {
        "hp": 31,
        "atk": 31,
        "def": 31,
        "spa": 31,
        "spd": 31,
        "spe": 31
      },
      "evs": {"atk": 252,"hp": 252},
      "heldItem": "eviolite",
      "gimmicks" { "tera": "rock" } //specifies that this will tera into rock
    }, //end of geodude
    {
      "species": "absol",
      "gender": "MALE",
      "level": 15,
      "nature": "adamant",
      "ability": "pressure",
      "moveset": [
         "nightslash"
      ],
      "heldItem": "mega_showdown:absolite" // how to get mega in your team, this mirrors /give
      }
   ] //end of team
}
KNOWN ISSUES: There are bound to be new bugs every patch. I'll try to get them handled and found before launch, but I'm only one person.

FAQ

Cobblemon: Run & Bun(Advanced Trainer AI) questions

Question not listed? Ask our team.

Cobblemon: Run & Bun(Advanced Trainer AI) server crashes on startup – what to do?

Common causes: the loader or Minecraft version does not match the mod file, a dependency is missing, or RAM is too low. Check the log (latest.log) for “OutOfMemoryError”, “Mixin” or missing mods. At Mado, the AI crash analysis reads the log and suggests a cause. You can change the loader and version in the panel.

Which loader does Cobblemon: Run & Bun(Advanced Trainer AI) run on?

According to Modrinth, Cobblemon: Run & Bun(Advanced Trainer AI) supports Fabric, NeoForge for Minecraft 1.21.1.

How much RAM does a server with Cobblemon: Run & Bun(Advanced Trainer AI) need?

As guidance, 3–4 GB for a server with this mod. This is an estimate, not a measured minimum. More mods, many players and long view distances need more. The spark profiler shows whether a mod is costing tick time.

Ready for your server with Cobblemon: Run & Bun(Advanced Trainer AI)?

4 GB of RAM from €8.00 per month. 35% off your first month with MADO35.

Order server