Download Nashorn (Custom NPCS ECMAScript) — Minecraft Mods — MetaMods

Nashorn (Custom NPCS ECMAScript)

Active

Downloads

0

Last update

5 years ago
Client
Fabric
Quilt
Forge
Neoforge
Libraries
Utils

Nashorn (Custom NPCS ECMAScript)

This library-interpreter enables ECMAScript support in the CustomNPCs modification. Many users may find that NPC scripting already works in their system, especially if a modern version of Java is installed. However, if problems arise when trying to create scripts for non-player characters, installation of this component is likely required.

Nashorn represents a high-performance JavaScript runtime environment integrated directly into the Java Virtual Machine. Developers can embed JavaScript into Java applications through the standard JSR-223 specification, and also create standalone JavaScript applications using command-line tools.

The key feature of the project is the use of advanced JVM technologies unavailable in previous JavaScript implementations. In particular, Nashorn actively employs the MethodHandles and InvokeDynamic APIs described in the JSR-292 specification, providing significant performance improvements.

Application capabilities:

  • Integration with CustomNPCs for creating scripted non-player character behavior
  • Support for other modifications using Nashorn mechanisms
  • Development of independent JavaScript applications within the Minecraft environment

Technical features:

  1. Compatibility with all Java versions supporting JSR-223
  2. Optimization for modern JVM architecture
  3. Full support for ECMAScript standards
Project members
mutoplay2015

mutoplay2015

Created: 9 Apr 2020

ID: 26710