StarRailExpress Library Mod
by StaredTrain
StarRailExpress Library Mod is a Fabric library that supplies the shared code, commands and sound resources for the StarRailExpress game mod and its add-ons.
What it does
Developers who build a plugin for StarRailExpress use this library as the base layer. It collects general utilities taken from the StarRailExpress project, along with development libraries and resources the main game depends on. Its sound package provides the effects that accompany the game's items and roles, so the game can play its audio.
The library also registers its own command set under sre:lib and a math command that evaluates expressions such as sin and cos, returning a numeric result. Players do not need to run these to enjoy the game; they exist so the game and its tooling can call them. Installation places the mod in the mods folder next to StarRailExpress, and StarRailExpress - Wathe Addon requires it.
Key features
Shared utility code
General helper code from the StarRailExpress project is packaged here so other builds can reuse it.
Sound package
Sound effects for the game's items and roles are bundled, covering characters such as the Jester, the Singer and the Gambler.
Command set
Commands registered under the sre:lib namespace are available for scripting and for the game's own use.
Math command
A math command evaluates expressions with functions such as sin and cos, returning a decimal result.
Gallery
Compatibility
Latest build for each game version and loader.
Only full game releases are shown. This mod publishes no snapshot builds.
Required by 1 mod
Use cases
Building a plugin
Developers who extend StarRailExpress use this library as the dependency their plugin needs to compile and run.
Who it’s for: Developers building add-ons for StarRailExpress, and players who install the game and its addons.
Questions
Does StarRailExpress Library Mod need to be on the server?
Which loader does this library support?
Which mod requires this library?
In the catalog
StarRailExpress Library Mod is one of 3,514 Library mods on ModsFinder, and one of 2,348 Library mods for Fabric. 32,366 mods support Minecraft 1.21.1.
More from StaredTrain
Similar mods
What the author says
For example: /math 1+1+sin(5*cos(6*(1>2))) will result 1 (1.0410757253368614 if you called the function in code.) ## Resources - Add the necessary resources for the mod StarRailExpress - It contains sound packages needed for the game to run, providing sound effects for the following items/roles. - Roles: Jester…
Official listing
- Modrinth page
- modrinth.com/mod/sre-lib
- Owner
- StaredTrain
- Published
- 2026-05-02
- Updated on Modrinth
- 2026-08-08
- Facts verified
- 2026-10-15
