Rhino
by KubeJS
Rhino is a JavaScript engine library that other mods embed, supplying ES6 scripting without relying on Java's removed Nashorn engine.
What it does
Rhino is derived from Mozilla's JavaScript engine, reworked so that other mods can embed it. It supplies an engine that handles ES6 syntax and does not depend on Nashorn, which Java dropped in version 15. On its own it does nothing visible in the game; it works as a dependency for mods that need a scripting layer, and KubeJS is the mod it is built for.
Rhino is required by 56 other mods, including KubeJS, Alien Evolution, Gravestone: Core, KubeJS Offline and Into The Omniverse: AlienEvo AddonPack. Either side can run it, and neither needs it. It is published for Fabric, Forge, NeoForge and Quilt across 20 release versions, spanning 1.18.2 – 26.1.2. The license is Mozilla Public License 2.0, and the source code is public.
Key features
ES6 JavaScript engine
Scripts written with ES6 syntax run on the engine, so mod authors can use a modern JavaScript dialect.
No Nashorn dependency
The engine does not rely on Nashorn, so it keeps working on Java versions where that engine has been removed.
Library for other mods
Being a dependency rather than a standalone feature, it provides the scripting layer that other mods call.
Wide version coverage
Builds span 20 release versions across four mod loaders, covering 1.18.2 – 26.1.2.
Compatibility
Latest build for each game version and loader.
26.x3 of 3 versions with builds
1.21.x12 of 12 versions with builds
1.20.x2 of 2 versions with builds
1.19.x2 of 2 versions with builds
1.18.x1 of 1 version with builds
Only full game releases are shown. This mod publishes no snapshot builds.
Required by 56 mods
Questions
Does Rhino need to be installed by itself?
Which loader should be used for Rhino?
In the catalog
Rhino is one of 3,514 Library mods on ModsFinder, and one of 2,348 Library mods for Fabric. 15,189 mods support Minecraft 26.1.2.
More from KubeJS
Similar mods
What the author says
A fork of Mozilla's Rhino library, modified for use in mods. This library adds JavaScript engine Rhino that supports ES6 and doesn't depend on built-in Nashorn engine that got removed in Java 15. This mod doesn't do anything on it's own, it's a library used by KubeJS.
Official listing
- Modrinth page
- modrinth.com/mod/rhino
- Owner
- KubeJS
- Published
- 2022-05-24
- Updated on Modrinth
- 2026-07-19
- Facts verified
- 2026-10-15
