Download Radical Cobblemon Trainers API — Minecraft Mods — ModStock

Radical Cobblemon Trainers API

Active

Downloads

0

Last update

6 months ago
Client
Libraries

Radical Cobblemon Trainers - Api

Trainer management and battle API for Cobblemon.

This API was developed as foundation for the Radical CobblemonTrainers 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.

Project members
hd42

hd42