Tags
Creators
Details
0.12.1-beta
Compatibility
Required content
Changes
Changelog
Important: This version may break compatibility with mods that rely on an older version of this api (< 0.12.0-beta). This could be the case if mods happen to parse trainers from JSON (i.e. with GSON) or use #getName() (see #55 - 59). There shouldn't be any issues otherwise.
To update be sure to configure your GsonBuilder instances with RCTApi#configureGsonBuilder(GsonBuilder) or simply use a builder provided by RCTApi#gsonBuilder().
[0.12.1-beta] - 2025-05-24
Changed:
- #66 General improvements for
RCTBattleAI- Custom evaluations for hazard and field manipulating moves (tailwind, gravity, trickroom, spikes, stealthrock, toxicspikes and stickyweb)
- Custom evaluations for moves that inflict major status conditions (like spore or glare)
- Custom evaluations for sacrificial moves (like explosion or memento)
- Custom evaluations for some common moves with very specific effects (like taunt or protect)
- Custom evaluations for weather and terrain moves (like raindance or mistyterrain)
- Some minor fixes and adjustments here and there (e.g. sleeptalk checking the opponents sleep status instead of the users)
- #65 Refactored
BattleEffects(formerPokeContext) utility class for the battle ai
Fixed:
- #64 Various potential battle errors with
RCTBattleAI(e.g. battle error if trainer pokemon dies of entry hazards) - #63
Text#getComponent()now returns a component with an empty string (instead of the language key itself), this should fix issues with fallback mechanics if certain texts do not have a translation defined (e.g. trainer names)
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:FY8Lm8Ie"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:CBfM2yw7:FY8Lm8Ie"
}

