▶️ ЗАБЕРИ СВОИ 8 ПОДАРКОВ 🎁 ПРИ СОЗДАНИИ СВОЕГО МАЙНКРАФТ СЕРВЕРА
Моды/Radical Cobblemon Trainers API
Radical Cobblemon Trainers API

Radical Cobblemon Trainers API

Trainer management and battle API for Cobblemon.

4.9M
130

Version 0.15.0-beta

beta22 марта 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()

Version 0.15.0-beta

beta22 марта 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()

Version 0.14.8-beta

beta14 февраля 2026 г.

Changelog

[0.14.8-beta] - 2026-02-14

Fixed:

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

Version 0.14.8-beta

beta14 февраля 2026 г.

Changelog

[0.14.8-beta] - 2026-02-14

Fixed:

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

Version 0.14.7-beta

beta14 февраля 2026 г.

Changelog

[0.14.7-beta] - 2026-02-13

Added:

  • #116 Debug#setActive(int) static method to configure active debug contexts (not recommended to activate in release builds)
  • #115 PokemonPropertiesModelConverter: Convert PokemonModel to PokemonProperties (thanks Gito)

Changed:

  • #114 Adjusted semantics of Debug utility (now works with contexts instead of levels, combine with | for multiple)

Fixed:

  • #113 Battles getting stuck when trainers use Tatsugiris Commander ability with Dondozo
  • #112 PokemonModel(Pokemon) constructor copying wrong properties

Совместимость

Minecraft: Java Edition

1.21.x

Платформы

Поддерживаемые окружения

Клиент и сервер

Создатели

Детали

Лицензия:LicenseRef-MCOML
Опубликован:1 год назад
Обновлён:1 неделю назад
Главная