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.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.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 theTrainerRegistry
andBattleManager
of anRCTApi
service (but distinct of those from other services)
- Event
- #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 registeredRCTApi
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)