Compatibility
Minecraft: Java Edition
Platforms
Supported environments
Links
Creators
Details
Please consider supporting me on ko-fi if you like the mod and can afford it, I appreciate even 1 dollar. 
I grant permission to anyone seeking to add my mod to a modpack
Cobblemon Secret Base Trainer
Cobblemon Secret Base Trainer lets you create Battle Clone NPCs from your own Cobblemon team snapshots. These clones can be used as gym leaders, trainers, repeatable server challenges, or team-testing NPCs that stay in the world even when the original player is offline.
A Battle Clone keeps the team data from the snapshot and can be configured with battle rules, rewards, dialogue, skins, music, progression requirements, and more.
Compatibility
- For Cobblemon
1.7+ - Built for Minecraft
1.21.1 - Supports Fabric and NeoForge
Dependency
- Requires
RCT API
What It Does
Use the Battle Clone item to create a trainer clone from your current party. Once placed, the clone can be configured by its owner, or by OPs if server settings allow it.
Each clone can act as a simple trainer, a gym leader, a co-op challenge, a progression gate, or a custom NPC encounter with dialogue and rewards.
Main Features
- Create Battle Clone NPCs from your current Cobblemon party
- Clones preserve full Pokemon data from the snapshot, including moves, abilities, stats, held items, and other team details
- Place multiple clones with different teams and different rule sets
- Configure single, double, and triple battle setups
- Set AI difficulty per clone
- Set battle restrictions like:
- level cap
- forced battle level
- team size limit
- no bag items
- no held items
- monotype requirement
- no legendary
- no Tera
- no Dynamax
- Configure gimmick slot rules so only selected clone Pokemon can use Tera or Dynamax
- Optional co-op clone battles for two-player challenges
- Optional line-of-sight battles that start automatically when a player enters range
- Optional random walking behavior so clones can patrol around their placed position
- Win/loss tracking per clone
- Optional battle cooldowns per player
- Optional reward requirement so a clone can only be challenged if rewards are configured
Rewards
Battle Clones support several reward styles:
- Guaranteed reward slot
- Bonus reward pool with a random bonus reward on win
- Optional infinite rewards
- Win command rewards
- Loss command rewards
- Optional one-time-per-player win command rewards
This makes it possible to build repeatable NPCs, one-time progression rewards, or server challenge trainers.
Dialogue And Progression
The mod has a built-in dialogue system for clones.
- Interact dialogue and line-of-sight dialogue
- Multiple dialogue lines with multiple answer options
- Optional commands on dialogue choices
- Optional battle start from dialogue choices
- Post-win dialogue support
- Once-per-player dialogue entries
- Link ID progression system for chaining trainers together
You can use this to create routes, gym progression, story trainers, locked encounters, or NPC chains where one clone must be defeated before another becomes available.
Teams And Clone Management
- Save teams and load them back onto clones
- Save full Pokemon team data to disk
- Build random team pools and let a clone select from saved teams
- View a clone’s team in the UI
- Copy an existing Battle Clone’s configuration back onto the Battle Clone item for reuse
- Clone configuration is persisted to a server-side JSON file
Cosmetics
- Assign custom clone skins from the local skins folder
- Assign custom battle music from the local music folder
- Skin data syncs to players in multiplayer
- Music can be used per clone during battle
Server Tools
Server-side settings include:
- clone battle XP multiplier
- stuck battle timeout protection
- admin permission to edit other players’ clones
The mod also includes admin commands.
Commands
All commands require permission level 2.
/bclone cleanup/bclone progress grant <player> <linkId>/bclone progress revoke <player> <linkId>/bclone progress list <player>/bclone progress check <player> <linkId>/bclone progress reset <player>
Config And Folders
Server config:
config/cobblemon_secret_base_trainer-server.json
Clone persistence:
config/cobblemon_secret_base_trainer/battle_clones.json
Custom music folder:
config/cobblemon_secret_base_trainer/music
Custom skins folder:
config/cobblemon_secret_base_trainer/skins
Saved client teams:
config/cobblemon-secret-base-trainer/saved_teams.json
Good Uses
- Gym leaders
- Elite Four style trainers
- PvE challenge NPCs
- Progression-gated trainers
- Training dummies for team testing
- Story or route trainers
- Co-op trainer encounters
- Repeatable reward battles



