COWMODSКаталог модов

Radical Cobblemon Trainers API

Trainer management and battle API for Cobblemon.

Автор: hd428,1 млн167обновлён 12 окт. 2026 г.
Механики игрыУправлениеУтилиты

Описание

Radical Cobblemon Trainers - API

Trainer management and battle API for Cobblemon.

This API was developed as foundation for the Radical Cobblemon Trainers mod and as replacement for the discontinued dependency CobblemonTrainers for Minecraft >= 1.21 and Cobblemon >= 1.6.

Yet it is designed as independent library to provide a subset of similar features for everyone to use.

Key features

  • Trainer management and entity association (trainer registry)
  • Support for different battle formats (1v1 SINGLE, 1v1 DOUBLE, 2v2 MULTI, ...)
  • Custom battle rules (e.g. max item usages per battle)
  • Extended AI features (currently only supported by RCTBattleAI):
    • Usual battle activities (move selection, switch, ...)
    • Gimmicks: Mega evolve, Dynamax, Z-Moves, Terastallize, etc. (most gimmicks that are activated by held items will require another mod to provide them. Mega Showdown would be an example and is also required for dyna- and gmax)
    • Trainers can carry and use items
  • Trainer and pokemon models (pojos) for easy parsing
    • Converters to Cobblemon types
    • Model validation (collects all errors before an exception is thrown)

Check out the repository for an example.

Supported By

bisecthosting

Последние версии

Все версии →
beta

Version 0.16.2-beta

0.16.2-beta
12 окт. 2026 г.34,2 тыс.Minecraft: 1.21.1fabric
Скачать
Что нового
# Changelog ## [0.16.2-beta] - 2026-10-12 **Changed:** - *#136* Bump min required version of Cobblemon to `1.8.2` **Fixed:** - *#135* Crashes related to changes in some items in Cobblemon `1.8.2` (e.g. Iron Ball)
beta

Version 0.16.2-beta

0.16.2-beta
12 окт. 2026 г.9,6 тыс.Minecraft: 1.21.1neoforge
Скачать
Что нового
# Changelog ## [0.16.2-beta] - 2026-10-12 **Changed:** - *#136* Bump min required version of Cobblemon to `1.8.2` **Fixed:** - *#135* Crashes related to changes in some items in Cobblemon `1.8.2` (e.g. Iron Ball)
beta

Version 0.16.1-beta

0.16.1-beta
14 сент. 2026 г.78,4 тыс.Minecraft: 1.21.1fabric
Скачать
Что нового
# Changelog ## [0.16.1-beta] - 2026-09-14 **Added:** - *#134* `GsonUtil`: Static helpers to create preconfigured *GSON* instances **Changed:** - *#133* Added very basic scripting support to `rct` battle AI. The configuration now has a new property, `battleScript`, a list of actions to perform in the provided order: - Available actions are: `move:<moveId>` (showdown move id, e.g. `tackle`), `switch:<position>` (`0` - `5`) and `item:<itemId>` (showdown item name, e.g. `potion` or `x_attack`) - If the `<type>:` prefix is ommitted a `<moveId>` is assumed - Targets are chosen based of the default AI evaluation - The AI will fallback to its usual behaviour if a scripted action was not possible (e.g. a pokemon does not have the selected move) or all scripted actions have been performed - There is no validation if an action succeeded (e.g. it is not possible to distinguish if a move hit or not) **Fixed:** - *#132* Battle softlocks caused by pokemon fainting on both sides
beta

Version 0.16.1-beta

0.16.1-beta
14 сент. 2026 г.21,9 тыс.Minecraft: 1.21.1neoforge
Скачать
Что нового
# Changelog ## [0.16.1-beta] - 2026-09-14 **Added:** - *#134* `GsonUtil`: Static helpers to create preconfigured *GSON* instances **Changed:** - *#133* Added very basic scripting support to `rct` battle AI. The configuration now has a new property, `battleScript`, a list of actions to perform in the provided order: - Available actions are: `move:<moveId>` (showdown move id, e.g. `tackle`), `switch:<position>` (`0` - `5`) and `item:<itemId>` (showdown item name, e.g. `potion` or `x_attack`) - If the `<type>:` prefix is ommitted a `<moveId>` is assumed - Targets are chosen based of the default AI evaluation - The AI will fallback to its usual behaviour if a scripted action was not possible (e.g. a pokemon does not have the selected move) or all scripted actions have been performed - There is no validation if an action succeeded (e.g. it is not possible to distinguish if a move hit or not) **Fixed:** - *#132* Battle softlocks caused by pokemon fainting on both sides
beta

Version 0.16.0-beta

0.16.0-beta
6 сент. 2026 г.35,7 тыс.Minecraft: 1.21.1fabric
Скачать
Что нового
# Changelog ## [0.16.0-beta] - 2026-09-06 **Changed:** - *#131* Min required Cobblemon version to `1.8`
beta

Version 0.16.0-beta

0.16.0-beta
6 сент. 2026 г.7 тыс.Minecraft: 1.21.1neoforge
Скачать
Что нового
# Changelog ## [0.16.0-beta] - 2026-09-06 **Changed:** - *#131* Min required Cobblemon version to `1.8`
beta

Version 0.15.2-beta

0.15.2-beta
19 апр. 2026 г.1,7 млнMinecraft: 1.21.1fabric
Скачать
Что нового
# Changelog As of version `0.15.0-beta`, RCTApi may only be redistributed under the terms of the [MCOML License](https://gitlab.com/srcmc/rct/api/-/raw/1.21.1/LICENSE.txt?ref_type=heads). ## [0.15.2-beta] - 2026-04-19 **Fixed:** - *#130* Battle error related to oversight in fix *#129* (*multi gimmick usage fix*)
beta

Version 0.15.2-beta

0.15.2-beta
19 апр. 2026 г.104,1 тыс.Minecraft: 1.21.1neoforge
Скачать
Что нового
# Changelog As of version `0.15.0-beta`, RCTApi may only be redistributed under the terms of the [MCOML License](https://gitlab.com/srcmc/rct/api/-/raw/1.21.1/LICENSE.txt?ref_type=heads). ## [0.15.2-beta] - 2026-04-19 **Fixed:** - *#130* Battle error related to oversight in fix *#129* (*multi gimmick usage fix*)
beta

Version 0.15.1-beta

0.15.1-beta
17 апр. 2026 г.5,2 тыс.Minecraft: 1.21.1fabric
Скачать
Что нового
# Changelog As of version `0.15.0-beta`, RCTApi may only be redistributed under the terms of the [MCOML License](https://gitlab.com/srcmc/rct/api/-/raw/1.21.1/LICENSE.txt?ref_type=heads). ## [0.15.1-beta] - 2026-04-17 **Fixed:** - *#129* Trainers attempting to use multiple gimmicks at the same time, that are not permitted to be used together in one battle, if they have more than one pokemon on the field (e.g. mega + mega or zmove + zmove)
beta

Version 0.15.1-beta

0.15.1-beta
17 апр. 2026 г.1,7 тыс.Minecraft: 1.21.1neoforge
Скачать
Что нового
# Changelog As of version `0.15.0-beta`, RCTApi may only be redistributed under the terms of the [MCOML License](https://gitlab.com/srcmc/rct/api/-/raw/1.21.1/LICENSE.txt?ref_type=heads). ## [0.15.1-beta] - 2026-04-17 **Fixed:** - *#129* Trainers attempting to use multiple gimmicks at the same time, that are not permitted to be used together in one battle, if they have more than one pokemon on the field (e.g. mega + mega or zmove + zmove)