Rhino - JavaScript Engine for Minecraft Mods
This library represents an adapted version of Mozilla's Rhino, specifically modified for integration into Minecraft mods. Its main function is to provide a modern JavaScript engine with ES6 standard support.
A key advantage of this solution is that it doesn't depend on the built-in Nashorn engine, which was removed in Java 15. This ensures compatibility with the latest Java versions and stable mod operation.
This mod doesn't perform any functions in the game on its own - it serves as a library foundation for other projects, particularly for KubeJS, which uses its capabilities to execute JavaScript code.