Sakura Lib
Although this project is primarily a library mod, it also includes several useful features for regular players.
Features for Players
The mod contains a version tracking system for singleplayer worlds. It warns the user if the mod version was downgraded or the mod was completely removed. Settings also allow enabling notifications about available updates.
Features for Developers
Sakura Lib is a library mod that significantly simplifies the data generation process when creating mods for Minecraft. It creates a convenient layer on top of the owo-lib and ARRP libraries, unifying their functionality. This enables fully automatic data generation and registration.
Additionally, the mod adds a special field in the mod.json file to specify the mod's format version. Currently, this feature is only used for the version tracking system, but in the future it will allow the use of data fixing mechanisms.
To set your mod's format version, add the following code to the fabric.mod.json file:
"custom": {
"sakuralib": {
"format_version": 1
}
}
More detailed documentation will be added in the future.