Compatibility
Minecraft: Java Edition
Platforms
Supported environments
Links
Creators
Details
IN THE WORKS: RUN AND BUN AI FOR COBBLEMON!!
This mod is built off of the Cobblemon and Radical Trainers mod and follows the Run and Bun AI documentation and goes in more depth than even that.
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 rocks, Trick room, Weather affects, 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: Can use Tera and Mega, uses them immediately when possible. (No Z-moves, No Dynamax)
Singles and Doubles Format
Required Mods:
Cobblemon 1.7
Radical Cobblemon Trainers 0.17.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.
Next Update -> (Tera Update)!!:
Expanding the prediction calculator -> Immunities, moves that have a general immunity will now be ignored as a possible move unless it is the only move.
Tera off by default -> turned back on in the JSON.
Tera target can be specified by pokemon name in the JSON, else default logic.
New Mega stones from Legends Z-A and Mega Dimensions added to list.
Special moves that dealt additional effects are still being scored even though the opponent would be immune. (e.g. Thunderwave -> ground type, fake out -> ghost type)
Status immune abilities like Good as Gold and Comatose
Ignore abilities (e.g. mold breaker) and its interactions with abilities and ability shield.
Some multiplayer inconsistencies with information while multiple fights are occurring should be better.
Multi-hit moves will be accounted for in their damage calcs.
We have to do these interactions manually because we are predicting outcomes, not just reacting to past actions. (It can take a while)
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?
Radical Cobblemon Trainers 0.17.x will require 0.14.x version of Radical Cobblemon Trainers API. We have made this mod to replace the 0.14.x version of Radical Cobblemon Trainers API mod while keeping all original functionality and adding our own trainer code. The reason we do this is that Radical API interferes with our code because there cannot be two API libraries of "similar" builds. When downloading radical cobblemon trainers, they sometimes place their API in the folder as well, which needs to be removed, or it might override mine.
Not all aspects of the AI are tested. Some interactions might not always get the desired outcome.
###Message me for questions or requests.
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
},
"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" }
}
]
}
KNOWN ISSUES:
-Moves that require scores to look into past moves are not scoring correctly. (Like Protect)
-Forfeiting a match will cause some crashes when attempting to rebattle the trainer.



