As per the licence requirements I have also set this project's licence to use the GNU General Public License version 2 (GPLv2)
This does not do anything on its own. Quite literally CustomNPC hooks into it and "turns on" the EMCAScript engine. If other mods implement a Nashorn Engine they will hook into this as well. Personally, I am not aware of any, but there may be some out there.
Nashorn's goal is to implement a lightweight high-performance JavaScript runtime in Java with a native JVM. This Project intends to enable Java developers embedding of JavaScript in Java applications via JSR-223 and to develop free standing JavaScript applications using the jrunscript command-line tool.
This Project is designed to take full advantage of newer technologies for native JVMs that have been made since the original development of JVM-based JavaScript which was started in 1997 by Netscape and maintained by Mozilla. This Project will be an entirely new code base, focused on these newer technologies. In particular the project will utilize the MethodHandles and InvokeDynamic APIs described in JSR-292.
No files available for download.