Compatibility
Minecraft: Java Edition
1.21.1
Platforms
Fabric
Supported environments
75% of ad revenue goes to creators
Support creators and Modrinth ad-free with Modrinth+Links
Creators
Details
Licensed LGPL-3.0-only
Published last week
Updated last week
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 (TODO)
- 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.