Tags
Creators
Details
All versions
0.15.0-beta
Beta
Version 0.15.0-beta4 months ago 11.2K
Compatibility
Minecraft: Java Edition
1.21.1
Platform
NeoForge
Supported environments
Client-side
Server-side
Client and server
Required content
Any compatible version
Any compatible version
Changes
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 aTrainerNPCwith aPokemonBattleand theLivingEntityit was attached to at the start of that battle - #127
TrainerNPC#getBattleInstances(): Retrieves a list of all activeBattleInstances 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
battleThemeproperty to assign a custom resource location (falls back tobattle.pvn.defaultif 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_STARTEDevent receivingnullinstead of theBattleStateas parameter
Removed:
- #118 Deprecated overloads of
TypeChart#getEffectiveness()
Projects on Modrinth are automatically available through a Maven repository for use with JVM build tools such as Gradle. To learn more about the Modrinth Maven API, click here.
Note: When available, you should use the creator's maven repo instead as it will have transitive dependency information that the Modrinth Maven API does not. You may also end up with duplicate dependencies if you use a mix of Modrinth and non-Modrinth Maven repositories for your dependencies, because the group identifier will be different when served through the Modrinth Maven API.
Maven coordinates:
Version ID:
build.gradle:
repositories {
exclusiveContent {
forRepository {
maven {
name = "Modrinth"
url = "https://api.modrinth.com/maven"
}
}
// forRepositories(fg.repository) // Uncomment when using ForgeGradle
filter {
includeGroup "maven.modrinth"
}
}
}
// Standard Gradle dependency
dependencies {
implementation "maven.modrinth:CBfM2yw7:SXmQGjoe"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:CBfM2yw7:SXmQGjoe"
}

