Changelog
[0.11.1-beta] - 2025-05-05
Changed:
- #54 Adjustments and fixes to
RCTBattleAI
- All moves have been further categorized (e.g. HEAL or BUFF) for a better generic evaluation and to circumvent issues with trainers targeting opponents with moves that have positive effects
- Improved awareness of screens, weather effects and terrains
- Improved awareness of certain moves with specific conditions (like fake out or wish)
- Improved awareness of status conditions and other effects (like levitate, seeded or drowsy)
- #53 Builder pattern for
RCTBattleAIConfig
andBattleRules
(thanks Gitoido)
Deprecated:
- #52
TypeChart#getEffectiveness(ElementalType, ElementalType, ElementalType, Ability)
Changelog
[0.11.0-beta] - 2025-04-12
Added:
- #51
BattleManager#startBattle()
withUUID
return type as replacement forBattleManager#start()
- #50
nickname
property forPokemonModel
s
Changed:
- #49 Adjustments to
RCTBattleAI
move and switch evaluations (e.g. better awareness of shedinjas wonderguard) and other tweaks - #48 If the
name
of aTrainerNPC
is unset or empty it will now fall back to the display name of the entity the trainer is attached to
Fixed:
- #47
RCTBattleAI
attempting to choose various illegal actions, causing battles to softlock in certain situations and other issues (e.g. switching out against pokemon with "arena trap" or while "mean look" is active)
Deprecated:
- #46
BattleManager#start()
and helper methods
Removed:
- #45 Demo commands (now implemented in tbcs)
BattleEndCommand
CommandsContext
RCTApiCommands
- other related classes
- #44
BattleState#BattleState(PokemonBattle, BattleRules)
- #43
RCTApi#getInstance()
- #42
RCTApi#init(TrainerRegistry, BattleManager)
- #41
RCTApi#initInstance(String, TrainerRegistry)
- #40
RCTApi#initInstance(String, TrainerRegistry, BattleManager)
Changelog
[0.10.15-beta] - 2025-03-29
Changed:
- #39 Serializable model and
JTO
classes
Changelog
[0.10.14-beta] - 2025-03-20
Fixed:
- #38 Potential mod initialization issues when multiple mods register to this api (hopefully)
Changelog
[0.10.13-beta] - 2025-03-15
Fixed:
- #37 Fixed potential issues with randomized pokemon stats when there are multiple mods that depend on this api
Changelog
[0.10.12-beta] - 2025-02-05
Fixed:
- #36 Fix non-initialized IV and EV props in
PokemonModel
when using Cobblemon Pokemon class constructor (thanks Gitoido)
Changelog
[0.10.11-beta] - 2025-01-28
Fixed:
- #35 EVs/IVs of trainer pokemon being reset/randomized at start of battles
Changelog
[0.10.10-beta] - 2025-01-26
Added:
- #34
BattleState#isEndForced()
: checks if battle was forcefully ended (i.e. draw)
Changed:
- #33
Events#BATTLE_ENDED
now fired after a battle was unregistered from theBattleManager
and also if a battle was forcfully ended
Fixed:
- #32 Incompatibility with Cobblemon 1.6.1 (min required version)
Changelog
[0.10.9-beta] - 2025-01-24
Fixed:
- #31 Clients crashing when logging out from a server on fabric
Changelog
[0.10.8-beta] - 2025-01-22
Added:
- #30
BattleManager#of(PokemonBattle)
,BattleManager#queryToEnd(PokemonBattle)
andBattleManager#tick()
Fixed:
- #29 Command api mixing up winners and losers