Radical Cobblemon Trainers API

Radical Cobblemon Trainers API

Mod

Trainer management and battle API for Cobblemon.

Client and server

1.01M downloads
67 followers
Follow Save

Version 0.10.7-beta

Changelog

Changelog

[0.10.7-beta] - 2025-01-21

Added:

  • #28 Simple Event API
    • Event BATTLE_ENDED
    • Event BATTLE_STARTED
    • Event TRAINER_REGISTRED
    • Event TRAINER_UNREGISTRED
    • EventContext shared between the TrainerRegistry and BattleManager of an RCTApi service (but distinct of those from other services)
  • #27 BattleManager#getStates() to retrieve all active battle states
  • #26 CommandsContext to allow registration of commands for different contexts without interfering with each other

Changed:

  • #25 Improved commands (api)
    • Better suggestions
    • Win commands support
  • #24 Some design adjustments to how BattleManager instances are handled (now distinct for each registered RCTApi service)
  • #23 The mod is now also a requirement for clients (for now)
  • #22 BattleManager#end(UUID, boolean) overload to forcefully end battles

Fixed:

  • #21 Possibility of starting battles against trainers not attached to an entity (potential softlock)
  • #20 Slight adjustments to mod initialization (hopefully fixes some random startup crashes on neoforge)
  • #19 Trainer pokemon being catchable and/or not recalled in some scenarios

Removed:

  • #18 GEN_9_ROYAL battle format for now (as it appears to not be implemented yet in Cobblemon)

Files

rctapi-neoforge-1.21.1-0.10.7-beta.jar(148.93 KiB) Primary Download

Project members

hd42

Member

Details

Licensed LGPL-3.0-only
Published 9 months ago
Updated 2 months ago