Radical Cobblemon Trainers API

Radical Cobblemon Trainers API

Mod

Trainer management and battle API for Cobblemon.

Client and server

996.9k downloads
67 followers
Follow Save

Version 0.12.0-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.0-beta] - 2025-05-13

Added:

  • #62 RCTApi#configureGsonBuilder(GsonBuilder)
  • #61 RCTApi#gsonBuilder()
  • #60 Text utility type for translatable text, which can be parsed from a JSON object with literal and/or translatable fields, or directly from a string, which serves as the literal value
    • Translation support for PokemonModel#nickname property (will be ignored if literal is not set)
    • Translation support for TrainerModel#name property

Changed:

  • #59 Return type of PokemonModel#getName() from String to Text (potential breaking change)
  • #58 Return type of Trainer#getName() from String to Text (potential breaking change)
  • #57 Return type of TrainerModel#getName() from String to Text (potential breaking change)
  • #56 Return type of TrainerNPC#getName() from String to Text (potential breaking change)
  • #55 Return type of TrainerPlayer#getName() from String to Text (potential breaking change)

Files

rctapi-neoforge-1.21.1-0.12.0-beta.jar(184.12 KiB) Primary Download

Project members

hd42

Member

Details

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