Appearance
Versions and support
Supported versions
The public API starts at Rimulib 1.2.2.
| Loader | Minecraft | Java |
|---|---|---|
| Fabric | 1.20.1, 1.21.1, 1.21.11, 26.3 | 17, 21, 21, 25 |
| Forge | 1.20.1, 1.21.1 | 17, 21 |
| NeoForge | 1.20.1, 1.21.1 | 17, 21 |
What counts as public
- The classes in
cyou.rimuru.rimulib.api - The classes in
cyou.rimuru.rimulib.client.api - The types those classes take or return
Everything else is internal and can change in any release.
Differences between versions
| Where | Difference |
|---|---|
| Minecraft 26.3 | UiApi takes GuiGraphicsExtractor instead of GuiGraphics |
| Minecraft 1.20.1 and 1.21.1 | NetApi and NetClientApi use RimuPacket. See Networking |
| Forge and NeoForge | The package gets a version tag. See Getting started |
Checking the version
java
RimulibApi.apiVersion(); // The API version
RimulibApi.version(); // The installed Rimulib version
RimulibApi.loader(); // The current loaderTo refuse older versions at startup, pass a minimum to connect:
java
RimulibApi.connect("mymod", MyMod.class, "1.2.2");Changelog
1.2.2
- First public API
