Back to mods
Project Nashorn project artwork

CurseForge · Minecraft mod

Project Nashorn

The library used to enable ECMAScript for Noppes CustomNPC Scripting.

Choose a version Pick your version below, then grab the matching file.

Quick answer

Which Project Nashorn release should I use?

Updated 7 years ago
Latest stable file Nashorn jsr223 Engine
Game version 1.9.1, 1.9.3, 1.9.4
Loader Not required

Project Nashorn Nashorn jsr223 Engine targets 1.9.1, 1.9.3, 1.9.4. The project page does not say whether this file belongs on the client, dedicated server, or both. No extra mods listed for this file.

Where it goes

Is Project Nashorn required on the client, server, or both?

The project page does not say whether this file belongs on the client, dedicated server, or both.

Client Source doesn’t say
Dedicated server Source doesn’t say
Loader for this release No loader listed
Required install it here Optional supported, not mandatory Not supported do not install here Source doesn’t say do not assume

The source does not explicitly classify this release as client-only or server-only.

What else does Project Nashorn Nashorn jsr223 Engine need?

Nashorn jsr223 Engine. Change the file and its required mods may change too.

No extra mods listed for this file

This file does not list any required mods. Do not add a library just because a different file uses it.

This file does not list any required or optional mods.

Before you install it

Add Project Nashorn without breaking your instance.

Built for Project Nashorn Nashorn jsr223 Engine. Pick another file and the loader, install side or required mods may change.

  1. 01

    Stick to this file

    Use Nashorn jsr223 Engine. It targets 1.9.1, 1.9.3, 1.9.4; another release may have different loader, side or dependency requirements.

  2. 02

    Bring the mods it needs

    This file does not list any required mods. Do not add a library just because a different file uses it.

  3. 03

    Put it on the correct side

    The project page does not say whether this file belongs on the client, dedicated server, or both.

  4. 04

    Pick the file you checked

    Use the “Get this file” button beside Nashorn jsr223 Engine. It opens that exact file at the source.

About this project

What does Project Nashorn add?

This Library/Interpreter is used to enable the CustomNPCs EMCAScript. If you are running the latest version of Java chances are you are already able to script NPCs once you enable EMCAScripts on the NPC. However, if you are attempting to script an NPC and it does not allow you to do so, chances are you are missing this Library/Interpreter. The details of this are listed below. I did not create this, I simply ported it to Curse for Modpack Creators. It makes it easier for creating a modpack. This is ALLOWED by terms of this Library/Interpreters licence. http://openjdk.java.net/legal/gplv2+ce.html

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.

Project Nashorn

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.

Project description from CurseForge.

Pick your setup

Project Nashorn by Minecraft version and loader

Choose the version and loader you play, then open the matching release.

15 available setups

Showing the newest 12 of 15 game versions. Older files are in the list below.

Check the dependencies, then try the file in a copied instance before changing a world you care about.

Recent files

Project Nashorn versions and loaders

1 of 1 releases match

Looking for an older file? The official CurseForge project page is in Resources.