Cobblemon Trainers EX

Quick rating

Community listing page, reviews here may not be monitored by the author.

Cobblemon Trainers EX

No reviews yet

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

Mod Loaders
Forge
Fabric
Minecraft

Community voices

Reviews

List view
Grid view
Compact view
Sort by
Date
Rating
Helpful
Unhelpful
Edited
Sort ascending
Show per page
10
25
50
Delete this review?

This removes your review from the project. You can write a new review after.

Review submitted for moderation

Your review has been sent to moderators, who will check that it meets our guidelines before it appears publicly.

No reviews yet. Be the first to review this project!

Get it on

Available Platforms

About

Project Details

Type
Mod
Latest Version
CobblemonTrainersEX-1.2.1A+1.5.2-forge.jar

For authors

Embed Badge

If you're the author of this project, you can embed a live badge anywhere that supports HTML or Markdown. It updates automatically whenever ratings change.

Custom banner text
ModDex rating badge preview

Use HTML for any page that supports it, or Markdown for README files and Markdown-based descriptions.

Identifiers

Platform IDs

CurseForge ID

Resources

External Links

Source Issues Wiki Discord

About

Description

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 :)

Screenshots

Gallery

This project has no gallery images yet.

Versions

Files

Relations

Project Relations

More like this

Similar Mods

Suggestions use data such as tags, dependencies, dependents, descriptions, titles, and more to rank how much they overlap with this mod.

On ModDex

Community snapshot

0
Ratings
0
Followers
0
In stacks

By the numbers

Statistics

<1,000
Downloads
Last Updated
Created
Last synced
When ModDex last fetched this project from CurseForge or Modrinth. Every project is re-checked on a schedule, and any project that ships a new file is synced automatically within hours of the release.
New file updates sync automatically
How syncing works