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)
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 toRCTApi#DEFAULT_INSTANCE
)RCTApi#getInstance(String)
RCTApi#getInstances()
RCTApi#initInstance(String)
RCTApi#initInstance(String, TrainerRegistry)
RCTApi#initInstance(String, TrainerRegistry, BattleManager)
- #15 Methods to retrieve
Trainer
s from theTrainerRegistry
by the original trainer (OT) of a givenPokemon
TrainerRegistry#getByOT(Pokemon)
TrainerRegistry#getByOT(Pokemon, Class<T>)
Deprecated:
- #14
RCTApi#init()
use new methods instead (see #16)