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
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.6-beta] - 2025-01-07
Fixed:
- #17 Trainer pokemon being saved to the world
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)
Changelog
[0.10.4-beta] - 2024-12-30
Fixed
- Issues with entity selector in battle command for formats with multiple participants
Changelog
[0.10.3-beta] - 2024-12-29
Added
RCTApiCommands.register(String)
allows to registerRCTApi
commands with a different prefixTrainerRegistry#getId(LivingEntity)
retrieves the trainer id for any givenLivingEntity
Changed
battle
command now supports entity selectors
Changelog
[0.10.2-beta] - 2024-12-23
Fixed
- Battle music themes not playing in trainer battles (
battle.pvn
)
Changelog
[0.10.1-beta] - 2024-12-09
Fixed
- Missing Cobblemon (version) dependency check
- Replaced redundant
PokemonEntityMixin
with event handler (which also fixed a crash caused by that mixin on startup)
Changelog
[0.10.0-beta] - 2024-12-09
Added
- Added ai configs
RCTBattleAIConfig
,SelfdotGen5AIConfig
,StrongBattleAIConfig
and registered correspondingJTO
parsers (rct
,sd5
andcbl
) - Generic
JTO
(json to object) flexible parser system
Removed
AIType
enum (TrainerModel.ai
is now defined asJTO<BattleAI>
)
Changelog
[0.9.1-beta] - 2024-12-09
Changed
RCTBattleAI
adjustments/fixes: improved switch evaluation + trainers now actually consider the use of (mostly healing) items
Fixed
- Issues with
RCTBattleAI
and switch instructions potentially causing softlocks as well as some other corner cases that could cause a battle failure (this might not fixed all issues but it appeared rather stable now during my testings)