Radical Cobblemon Trainers API

Radical Cobblemon Trainers API

Mod

Trainer management and battle API for Cobblemon.

Client and server

996.5k downloads
67 followers
Follow Save

Version 0.12.1-beta

Changelog

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 (former PokeContext) 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)

Files

rctapi-fabric-1.21.1-0.12.1-beta.jar(199.96 KiB) Primary Download

Project members

hd42

Member

Details

Licensed LGPL-3.0-only
Published 9 months ago
Updated 2 months ago