Compatibility
Minecraft: Java Edition
1.21.1
Platforms
Supported environments
75% of ad revenue goes to creators
Support creators and Modrinth ad-free with Modrinth+Creators
Details
Licensed LGPL-3.0-only
Published 5 months ago
Updated 4 days ago
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)
Files
Metadata
Release channel
BetaVersion number
0.12.0-betaLoaders
Game versions
1.21.1Downloads
681Publication date
May 13, 2025 at 5:10 PMPublisher

hd42
Member