Back to mods
Cobblemon Trainers EX project artwork

CurseForge · Minecraft mod

Cobblemon Trainers EX

A fork of CobblemonTrainers for 1.20.1; custom battles with massively improved AI and Doubles compat (with Cobblemon Showdown)

Choose a version Pick your version below, then grab the matching file.

Quick answer

Which Cobblemon Trainers EX release should I use?

Updated 3 days ago
Latest stable file CobblemonTrainersEX-1.2.3+1.5.2-fabric.jar
Game version 1.20.1
Loader Fabric

Cobblemon Trainers EX CobblemonTrainersEX-1.2.3+1.5.2-fabric.jar targets 1.20.1 with Fabric. The project page does not say whether this file belongs on the client, dedicated server, or both. All 3 required mods have matching files.

Where it goes

Is Cobblemon Trainers EX required on the client, server, or both?

The project page does not say whether this file belongs on the client, dedicated server, or both.

Client Source doesn’t say
Dedicated server Source doesn’t say
Loader for this release Fabric
Required install it here Optional supported, not mandatory Not supported do not install here Source doesn’t say do not assume

The source does not explicitly classify this release as client-only or server-only.

What else does Cobblemon Trainers EX CobblemonTrainersEX-1.2.3+1.5.2-fabric.jar need?

CobblemonTrainersEX-1.2.3+1.5.2-fabric.jar. Change the file and its required mods may change too.

All 3 required mods have matching files

Install Architectury API, Cobblemon, Fabric API first. We found matching files for this game-version and loader setup. 1 comes through another mod in the chain.

3 listed on this file 1 pulled in by one of those mods
Architectury API Needed by Cobblemon Trainers EX CobblemonTrainersEX-1.2.3+1.5.2-fabric.jar
required
Matching file found Matched file: [Fabric 1.20(.1)] v9.2.14
Cobblemon Needed by Cobblemon Trainers EX CobblemonTrainersEX-1.2.3+1.5.2-fabric.jar
required
Matching file found Matched file: Cobblemon v1.5.2 ~ Fabric
Fabric API Needed by Architectury API
pulled in
Matching file found Matched file: [1.20.1] Fabric API 0.92.11+1.20.1

1 extra mod was pulled in by another dependency. Indented rows show who needs each one. We only count dependency files that match this setup. A file for another loader does not fill the gap.

Before you install it

Add Cobblemon Trainers EX without breaking your instance.

Built for Cobblemon Trainers EX CobblemonTrainersEX-1.2.3+1.5.2-fabric.jar. Pick another file and the loader, install side or required mods may change.

  1. 01

    Stick to this file

    Use CobblemonTrainersEX-1.2.3+1.5.2-fabric.jar. It targets 1.20.1 with Fabric; another release may have different loader, side or dependency requirements.

  2. 02

    Bring the mods it needs

    Install Architectury API, Cobblemon, Fabric API first. We found matching files for this game-version and loader setup. 1 comes through another mod in the chain.

  3. 03

    Put it on the correct side

    The project page does not say whether this file belongs on the client, dedicated server, or both.

  4. 04

    Pick the file you checked

    Use the “Get this file” button beside CobblemonTrainersEX-1.2.3+1.5.2-fabric.jar. It opens that exact file at the source.

About this project

What does Cobblemon Trainers EX add?

A fork of the discontinued mod CobblemonTrainers by selfdot. For a similar mod on 1.21.1 (fabric) please check out RCT API.

Overview

  • Create custom Cobblemon trainer battles in the mod's config or ingame through a simple setup interface.
  • EX Adds: Much more capable battle AI for trainers that adapts to the battle.
  • EX Adds: Compatability for custom Double battles with Cobblemon Showdown (soft dependency, FORGE only!).
  • Compatible with the dependents of the original CobblemonTrainers (with Radical Cobblemon Trainers)

❗Requires Architectury API. Make sure to remove the original CobblemonTrainers from your mods folder if you use this mod.

The AI

Trainers now consider many factors in a battle instead of clicking the biggest number. The AI reasons about type matchups, speed, switching, status, setup, weather and terrain, entry hazards, screens, and Protect, and it coordinates both slots in doubles. Difficulty is a single number (level 0 to 11): low levels play semi-random, high levels make sharp plays by combining the features of the lower levels. By default it only uses the set information it can learn through the battle.

Level Behavior
0 Avoids immunities and useless moves
1 Picks its best damaging move
2 Values KOs, prefers accurate moves
3 Secures KOs, speed-aware
4 Heals when hurt (default)
5 Inflicts status when appropriate
6 Punishes stat boosts (Haze)
7 Sets up boosts when safe
8 Field control: screens, hazards, weather, protect
9 Switches, pivots, predicts your switches, avoids walls
10 Coordinates double battles combos
11 Omniscient: reads the foe's full moveset

Without setting any AI for a specific trainer, they will default to level 4.

Commands

All commands are under /trainers.

Play

  • /trainers battle : open a menu to pick a trainer to fight
  • /trainers battle <trainer> : fight a trainer directly

Create and manage (needs edit permission)

  • /trainers setup : open the trainer editor GUI
  • /trainers add <name> [group] : create a new trainer
  • /trainers remove <trainer> : delete a trainer
  • /trainers rename <trainer> <newName> : rename a trainer
  • /trainers setgroup <trainer> <group> : move a trainer to another group
  • /trainers addpokemon <trainer> <properties> : add a Pokemon by properties
  • /trainers addfromparty <trainer> <slot> : copy a Pokemon from your party

Tune a trainer (needs edit permission)

  • /trainers setbattletype <trainer> <singles|doubles> : set the battle format
  • /trainers setailevel <trainer> <-1..11> : AI level (-1 inherits global)
  • /trainers setrandomizeleads <trainer> <true|false> : send out a random lead
  • /trainers setpartymaximumlevel <trainer> <1-100> : cap the challenger's party level
  • /trainers setcooldownseconds <trainer> <seconds> : re-battle cooldown
  • /trainers setcanonlybeatonce <trainer> <true|false> : allow one win per player
  • /trainers setwincommand <trainer> <command> : run a command when the player wins
  • /trainers setlosscommand <trainer> <command> : run a command when the player loses
  • /trainers adddefeatrequirement <trainer> <other> : require beating another trainer first
  • /trainers removedefeatrequirement <trainer> <other> : remove that prerequisite

AI (global)

  • /trainers usescoreai : use the new score AI for all trainers
  • /trainers usegen5ai : use the legacy Gen 5 AI
  • /trainers usestrongai <level> : use the legacy strong AI
  • /trainers aidebug <true|false> : show the AI's per-move scoring in chat

Admin

  • /trainers reload : reload trainer data from disk
  • /trainers makebattle <player> <trainer> : force a player into a battle
  • /trainers resetwintracker <player> <trainer> : clear a player's recorded win

Trainer editor

Run /trainers setup to open the editor (a chest style menu). Browse Groups, then a Group, then a Trainer, click a slot to add or edit a Pokemon, and use New Pokemon to fill an empty team (up to 6). Reorder or remove team members from the trainer view. Battle rules, rewards, and AI level are set with the /trainers set* commands above.

Trainers are stored as JSON in config/trainers/groups/ and can be edited by hand if you prefer. See the GitHub repo.

Per Pokemon you can add or tune:

  • Species and form
  • Level (1-100)
  • Nature
  • Ability
  • Moves (up to 4, from the legal learnset)
  • EVs and IVs
  • Held item
  • Gender
  • Shiny

Unimplemented Features

Currently the battle AI in this mod does not have compat for the following addon features:

  • Terastalization
  • Mega evolving
  • Dyna/Gigantamaxing
  • Trainers can't use items

License

Apache 2.0 with the Commons Clause (2023 selfdot, KiwiFlavoredApollo). Basically you're free to use it yourself, in modpacks, modify the code, as long as the original copyright notice is kept. However, this mod or forks can't be sold or paywalled.

Credits

  • selfdot (CobblemonTrainers)
  • pokeemerald-rogue (for scoreAI imp ideas)
  • You, the player, thank you :)

Project description from CurseForge.

Pick your setup

Cobblemon Trainers EX by Minecraft version and loader

Choose the version and loader you play, then open the matching release.

2 available setups

Check the dependencies, then try the file in a copied instance before changing a world you care about.

Recent files

Cobblemon Trainers EX versions and loaders

10 of 10 releases match

Looking for an older file? The official CurseForge project page is in Resources.