Rhino

Rhino

v2101.2.8-build.91+Rhino-1.21
Modrinth 107 followers 21 140 491 downloads
by Lat
Sign in

A fork of Mozilla's Rhino library, modified for use in mods

Product

About

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.

Preview

Product images

Environment

Requirements & compatibility

Compatibility & requirements

FabricForgeNeoforgeQuilt1.18.2 – 1.191.19.21.20.11.20.51.21 – 1.21.1126.126.1.126.1.2

Local host

Optional

Hosting on services

Optional

Terms

License

Terms for using, modifying and redistributing this product.

Mozilla Public License 2.0Modrinth
Release

Latest release

v2101.2.8-build.91+Rhino-1.21

19.07.2026 · Modrinth

https://github.com/KubeJS-Mods/Rhino/commits/main

Note: This release is a major update to Rhino's internals and contains a bunch of new or fixed language features, including:

  • Destructuring const {a, b} = obj, const [x, y] = arr, defaults, nested patterns, destructuring in catch, for loops, and function parameters
  • Default parameters function f(a, b = a * 2)
  • Rest parameters function f(...args) (unfortunately NYI in arrow functions, also no spread yet!)
    -...