Mods
Resource Packs
Data Packs
Modpacks
Shaders
Plugins
Mods Resource Packs Data Packs Plugins Shaders Modpacks
Get Modrinth App Upgrade to Modrinth+
Sign in
ModsPluginsData PacksShadersResource PacksModpacks
Sign in
Settings
Radical Cobblemon Trainers API

Radical Cobblemon Trainers API

Trainer management and battle API for Cobblemon.

791.9k
59

Compatibility

Minecraft: Java Edition

1.21.1

Platforms

Fabric
NeoForge

Supported environments

Client and server

90% of ad revenue goes to creators

Support creators and Modrinth ad-free with Modrinth+

Links

Report issues View source
Donate on Ko-fi

Creators

hd42
hd42 Member

Details

Licensed LGPL-3.0-only
Published 7 months ago
Updated last week
DescriptionChangelogVersions
1
2
3

Version 0.10.7-beta

by hd42 on Jan 21, 2025
Download

Version 0.10.7-beta

by hd42 on Jan 21, 2025
Download

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)

Version 0.10.6-beta

by hd42 on Jan 7, 2025
Download

Version 0.10.6-beta

by hd42 on Jan 7, 2025
Download

Changelog

[0.10.6-beta] - 2025-01-07

Fixed:

  • #17 Trainer pokemon being saved to the world

Version 0.10.5-beta

by hd42 on Jan 7, 2025
Download

Version 0.10.5-beta

by hd42 on Jan 7, 2025
Download

Changelog

[0.10.5-beta] - 2025-01-07

Added:

  • #16 Methods for initialization and retrieval of different RCTApi instances by id or in bulk (fallback to RCTApi#DEFAULT_INSTANCE)
    • RCTApi#getInstance(String)
    • RCTApi#getInstances()
    • RCTApi#initInstance(String)
    • RCTApi#initInstance(String, TrainerRegistry)
    • RCTApi#initInstance(String, TrainerRegistry, BattleManager)
  • #15 Methods to retrieve Trainers from the TrainerRegistry by the original trainer (OT) of a given Pokemon
    • TrainerRegistry#getByOT(Pokemon)
    • TrainerRegistry#getByOT(Pokemon, Class<T>)

Deprecated:

  • #14 RCTApi#init() use new methods instead (see #16)

Version 0.10.4-beta

by hd42 on Dec 30, 2024
Download

Version 0.10.4-beta

by hd42 on Dec 30, 2024
Download

Changelog

[0.10.4-beta] - 2024-12-30

Fixed

  • Issues with entity selector in battle command for formats with multiple participants

Version 0.10.3-beta

by hd42 on Dec 30, 2024
Download

Version 0.10.3-beta

by hd42 on Dec 30, 2024
Download

Changelog

[0.10.3-beta] - 2024-12-29

Added

  • RCTApiCommands.register(String) allows to register RCTApi commands with a different prefix
  • TrainerRegistry#getId(LivingEntity) retrieves the trainer id for any given LivingEntity

Changed

  • battle command now supports entity selectors

Version 0.10.2-beta

by hd42 on Dec 23, 2024
Download

Version 0.10.2-beta

by hd42 on Dec 23, 2024
Download

Changelog

[0.10.2-beta] - 2024-12-23

Fixed

  • Battle music themes not playing in trainer battles (battle.pvn)

Version 0.10.1-beta

by hd42 on Dec 9, 2024
Download

Version 0.10.1-beta

by hd42 on Dec 9, 2024
Download

Changelog

[0.10.1-beta] - 2024-12-09

Fixed

  • Missing Cobblemon (version) dependency check
  • Replaced redundant PokemonEntityMixin with event handler (which also fixed a crash caused by that mixin on startup)

Version 0.10.0-beta

by hd42 on Dec 9, 2024
Download

Version 0.10.0-beta

by hd42 on Dec 9, 2024
Download

Changelog

[0.10.0-beta] - 2024-12-09

Added

  • Added ai configs RCTBattleAIConfig, SelfdotGen5AIConfig, StrongBattleAIConfig and registered corresponding JTO parsers (rct, sd5 and cbl)
  • Generic JTO (json to object) flexible parser system

Removed

  • AIType enum (TrainerModel.ai is now defined as JTO<BattleAI>)

Version 0.9.1-beta

by hd42 on Dec 9, 2024
Download

Version 0.9.1-beta

by hd42 on Dec 9, 2024
Download

Changelog

[0.9.1-beta] - 2024-12-09

Changed

  • RCTBattleAI adjustments/fixes: improved switch evaluation + trainers now actually consider the use of (mostly healing) items

Fixed

  • Issues with RCTBattleAI and switch instructions potentially causing softlocks as well as some other corner cases that could cause a battle failure (this might not fixed all issues but it appeared rather stable now during my testings)

Version 0.9.0-beta

by hd42 on Dec 3, 2024
Download

Version 0.9.0-beta

by hd42 on Dec 3, 2024
Download

Changelog

[0.9.0-beta] - 2024-12-03

Added

  • Initial release (trainer management, battle formats, battle ai, trainer models)
1
2
3

Modrinth is open source.

feat/theseus/tauri-v2@c5403db

© Rinth, Inc.

Company

TermsPrivacyRulesCareers

Resources

SupportBlogDocsStatus

Interact

Discord X (Twitter) Mastodon Crowdin
Get Modrinth App Settings
NOT AN OFFICIAL MINECRAFT SERVICE. NOT APPROVED BY OR ASSOCIATED WITH MOJANG OR MICROSOFT.