Radical Cobblemon Trainers API

Radical Cobblemon Trainers API

Mod

Trainer management and battle API for Cobblemon.

Server

13.3k downloads
10 followers
Follow Save
90% of ad revenue goes to creators. Go ad-free while supporting creators with Modrinth Plus. Subscribe today!

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.

Supported By

bisecthosting


Project members

hd42

Member

Details

Licensed LGPL-3.0-only
Published a month ago
Updated 7 hours ago