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 withliteral
and/ortranslatable
fields, or directly from a string, which serves as theliteral
value- Translation support for
PokemonModel#nickname
property (will be ignored ifliteral
is not set) - Translation support for
TrainerModel#name
property
- Translation support for
Changed:
- #59 Return type of
PokemonModel#getName()
fromString
toText
(potential breaking change) - #58 Return type of
Trainer#getName()
fromString
toText
(potential breaking change) - #57 Return type of
TrainerModel#getName()
fromString
toText
(potential breaking change) - #56 Return type of
TrainerNPC#getName()
fromString
toText
(potential breaking change) - #55 Return type of
TrainerPlayer#getName()
fromString
toText
(potential breaking change)
Dependencies
Files
rctapi-neoforge-1.21.1-0.12.0-beta.jar(184.12 KiB) Primary Download
External resources
Project members

hd42
Member
Technical information
License
LGPL-3.0-only
Client side
required
Server side
required
Project ID