← Назад к ресурсам

Radical Cobblemon Trainers API

Trainer management and battle API for Cobblemon.

Modrinth game-mechanics management utility

Описание

# Radical Cobblemon Trainers - API Trainer management and battle API for [Cobblemon](https://cobblemon.com/en). This API was developed as foundation for the [Radical Cobblemon Trainers](https://gitlab.com/srcmc/rct/mod) mod and as replacement for the discontinued dependency [CobblemonTrainers](https://github.com/davo899/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](https://modrinth.com/mod/cobblemon-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](https://gitlab.com/srcmc/rct/api#example) for an example. ## Supported By [![bisecthosting](https://www.bisecthosting.com/partners/custom-banners/5ea61298-7966-4331-945f-da7b80663a38.webp)](https://bisecthosting.com/hd42)