Перейти к содержимому
Mineforgian

Radical Cobblemon Trainers API

Trainer management and battle API for Cobblemon.

6.1M загрузок148 подписчиковLicenseRef-MCOMLfabricneoforge

Обновлён 19 апреля 2026 г. · опубликован 3 декабря 2024 г.

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, etc. (most gimmicks that are activated by held items will require another mod to provide them. Mega Showdown would be an example and is also required for dyna- and gmax)
    • 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

Версии

ВерсияКаналИграЗагрузчикиДатаСкачать
0.15.2-betaБета1.21.1fabric19 апреля 2026 г..jar (229 КБ)
0.15.2-betaБета1.21.1neoforge19 апреля 2026 г..jar (230 КБ)
0.15.1-betaБета1.21.1fabric17 апреля 2026 г..jar (229 КБ)
0.15.1-betaБета1.21.1neoforge17 апреля 2026 г..jar (230 КБ)
0.15.0-betaБета1.21.1fabric21 марта 2026 г..jar (228 КБ)
0.15.0-betaБета1.21.1neoforge21 марта 2026 г..jar (229 КБ)
0.14.8-betaБета1.21.1fabric14 февраля 2026 г..jar (224 КБ)
0.14.8-betaБета1.21.1neoforge14 февраля 2026 г..jar (225 КБ)
0.14.7-betaБета1.21.1fabric13 февраля 2026 г..jar (220 КБ)
0.14.7-betaБета1.21.1neoforge13 февраля 2026 г..jar (221 КБ)
0.14.6-betaБета1.21.1fabric18 января 2026 г..jar (216 КБ)
0.14.6-betaБета1.21.1neoforge18 января 2026 г..jar (217 КБ)
0.14.5-betaБета1.21.1fabric27 декабря 2025 г..jar (214 КБ)
0.14.5-betaБета1.21.1neoforge27 декабря 2025 г..jar (215 КБ)
0.14.4-betaБета1.21.1fabric11 декабря 2025 г..jar (203 КБ)

Показаны последние 15 из 88 версий. Все версии — на Modrinth.

Ченджлог

0.15.2-betaБета1.21.1 · 19 апреля 2026 г.

Changelog

As of version 0.15.0-beta, RCTApi may only be redistributed under the terms of the MCOML License.

[0.15.2-beta] - 2026-04-19

Fixed:

  • #130 Battle error related to oversight in fix #129 (multi gimmick usage fix)
0.15.2-betaБета1.21.1 · 19 апреля 2026 г.

Changelog

As of version 0.15.0-beta, RCTApi may only be redistributed under the terms of the MCOML License.

[0.15.2-beta] - 2026-04-19

Fixed:

  • #130 Battle error related to oversight in fix #129 (multi gimmick usage fix)
0.15.1-betaБета1.21.1 · 17 апреля 2026 г.

Changelog

As of version 0.15.0-beta, RCTApi may only be redistributed under the terms of the MCOML License.

[0.15.1-beta] - 2026-04-17

Fixed:

  • #129 Trainers attempting to use multiple gimmicks at the same time, that are not permitted to be used together in one battle, if they have more than one pokemon on the field (e.g. mega + mega or zmove + zmove)
0.15.1-betaБета1.21.1 · 17 апреля 2026 г.

Changelog

As of version 0.15.0-beta, RCTApi may only be redistributed under the terms of the MCOML License.

[0.15.1-beta] - 2026-04-17

Fixed:

  • #129 Trainers attempting to use multiple gimmicks at the same time, that are not permitted to be used together in one battle, if they have more than one pokemon on the field (e.g. mega + mega or zmove + zmove)
0.15.0-betaБета1.21.1 · 21 марта 2026 г.

Changelog

As of version 0.15.0-beta, RCTApi may only be redistributed under the terms of the MCOML License.

[0.15.0-beta] - 2026-03-21

Added:

  • #128 BattleInstance: Associates a TrainerNPC with a PokemonBattle and the LivingEntity it was attached to at the start of that battle
  • #127 TrainerNPC#getBattleInstances(): Retrieves a list of all active BattleInstances the trainer is attending to

Changed:

  • #126 Adjustments to the battle AI switch evaluation, which makes it less likely for trainers to switch into pokemon with much higher stats
  • #125 Slight adjustment to battle AI to lower the chance to use (often waste) healing items on squishy pokemon on the field
  • #124 Trainers may now attend to multiple battles at the same time
    • Note that a trainer entity can still only attend to one battle at a time (a copy of that entity can attend to a different battle)
    • The entity the trainer was attached to at the start of a battle is stored to ensure recall animations of pokemon will always point towards that entity
    • This was possible in an older version of the API (with unexpected side effects) but was never an intended feature, now it is
  • #123 Trainers now support custom sound events. Use the battleTheme property to assign a custom resource location (falls back to battle.pvn.default if unset). Refer to the docs for more info

Fixed:

  • #122 Battle AI attempting to use baton pass when there is no pokemon to switch to and it will also avoid that move if the user has no stat buffs
  • #121 Battle AI not including active shield effects (light screen/reflect) in some damage calculations
  • #120 Battle AI not recognizing the weather effects "heavy rain", "extremely harsh sunlight" and "strong winds" (e.g. attempting to use fire or water moves when they would fail)
  • #119 BATTLE_STARTED event receiving null instead of the BattleState as parameter

Removed:

  • #118 Deprecated overloads of TypeChart#getEffectiveness()
0.15.0-betaБета1.21.1 · 21 марта 2026 г.

Changelog

As of version 0.15.0-beta, RCTApi may only be redistributed under the terms of the MCOML License.

[0.15.0-beta] - 2026-03-21

Added:

  • #128 BattleInstance: Associates a TrainerNPC with a PokemonBattle and the LivingEntity it was attached to at the start of that battle
  • #127 TrainerNPC#getBattleInstances(): Retrieves a list of all active BattleInstances the trainer is attending to

Changed:

  • #126 Adjustments to the battle AI switch evaluation, which makes it less likely for trainers to switch into pokemon with much higher stats
  • #125 Slight adjustment to battle AI to lower the chance to use (often waste) healing items on squishy pokemon on the field
  • #124 Trainers may now attend to multiple battles at the same time
    • Note that a trainer entity can still only attend to one battle at a time (a copy of that entity can attend to a different battle)
    • The entity the trainer was attached to at the start of a battle is stored to ensure recall animations of pokemon will always point towards that entity
    • This was possible in an older version of the API (with unexpected side effects) but was never an intended feature, now it is
  • #123 Trainers now support custom sound events. Use the battleTheme property to assign a custom resource location (falls back to battle.pvn.default if unset). Refer to the docs for more info

Fixed:

  • #122 Battle AI attempting to use baton pass when there is no pokemon to switch to and it will also avoid that move if the user has no stat buffs
  • #121 Battle AI not including active shield effects (light screen/reflect) in some damage calculations
  • #120 Battle AI not recognizing the weather effects "heavy rain", "extremely harsh sunlight" and "strong winds" (e.g. attempting to use fire or water moves when they would fail)
  • #119 BATTLE_STARTED event receiving null instead of the BattleState as parameter

Removed:

  • #118 Deprecated overloads of TypeChart#getEffectiveness()
0.14.8-betaБета1.21.1 · 14 февраля 2026 г.

Changelog

[0.14.8-beta] - 2026-02-14

Fixed:

  • #117 Oversight from previous change leading to trainer pokemon having random movesets
0.14.8-betaБета1.21.1 · 14 февраля 2026 г.

Changelog

[0.14.8-beta] - 2026-02-14

Fixed:

  • #117 Oversight from previous change leading to trainer pokemon having random movesets

Полная история изменений — на Modrinth.

Комментарии

Загружаем…