promotional banner

Radical Cobblemon Trainers API

Trainer management and battle API for Cobblemon.
Back to Files

rctapi-neoforge-1.21.1-0.16.1-beta.jar

File namerctapi-neoforge-1.21.1-0.16.1-beta.jar
Uploader
hd42hd42
Uploaded
Sep 14, 2026
Downloads
12.6K
Size
262.6 KB
Mod Loaders
NeoForge
File ID
8876921
Type
B
Beta
Supported game versions
  • 1.21.1

Curse Maven Snippet

NeoForge

implementation "curse.maven:radical-cobblemon-trainers-api-1152792:8876921"

Learn more about Curse Maven

What's new

Changelog

[0.16.1-beta] - 2026-09-14

Added:

  • #134 GsonUtil: Static helpers to create preconfigured GSON instances

Changed:

  • #133 Added very basic scripting support to rct battle AI. The configuration now has a new property, battleScript, a list of actions to perform in the provided order:
    • Available actions are: move:<moveId> (showdown move id, e.g. tackle), switch:<position> (0 - 5) and item:<itemId> (showdown item name, e.g. potion or x_attack)
    • If the <type>: prefix is ommitted a <moveId> is assumed
    • Targets are chosen based of the default AI evaluation
    • The AI will fallback to its usual behaviour if a scripted action was not possible (e.g. a pokemon does not have the selected move) or all scripted actions have been performed
    • There is no validation if an action succeeded (e.g. it is not possible to distinguish if a move hit or not)

Fixed:

  • #132 Battle softlocks caused by pokemon fainting on both sides

This mod has no additional files