Back to mods
NitoriJS project artwork

CurseForge · Minecraft mod

NitoriJS

KubeJS addon for Gensokyo Legacy.

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

Quick answer

Which NitoriJS release matches NeoForge?

Updated today
beta file nitorijs-neoforge-1.21.1-0.3.0.jar
Game version 1.21.1
Loader NeoForge

nitorijs-neoforge-1.21.1-0.3.0.jar targets 1.21.1 with NeoForge. The project page does not say whether this file belongs on the client, dedicated server, or both. All 6 required mods have matching files.

Where it goes

Is NitoriJS 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 NeoForge
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 nitorijs-neoforge-1.21.1-0.3.0.jar need?

nitorijs-neoforge-1.21.1-0.3.0.jar on NeoForge. Every mod below is checked against that same setup.

All 6 required mods have matching files

Install KubeJS, Gensokyo Legacy, Better Advanced Tooltips, Rhino and 2 more first. We found matching files for this game-version and loader setup. 4 come through another mod in the chain.

2 listed on this file 4 pulled in by those mods
KubeJS Needed by nitorijs-neoforge-1.21.1-0.3.0.jar
required
Matching file found Matched file: KubeJS NeoForge 2101.7.2-build.381
Gensokyo Legacy Needed by nitorijs-neoforge-1.21.1-0.3.0.jar
required
Matching file found Matched file: gensokyolegacy-1.0.8.2-1.21.1.jar
Better Advanced Tooltips Needed by KubeJS
pulled in
Matching file found Matched file: better-advanced-tooltips-2101.1.0-build.5.jar
Rhino Needed by KubeJS
pulled in
Matching file found Matched file: Rhino 2101.2.7-build.85
Patchouli Needed by Gensokyo Legacy
pulled in
Matching file found Matched file: Patchouli-1.21.1-93-NEOFORGE.jar
Curios API Needed by Gensokyo Legacy
pulled in
Matching file found Matched file: curios-neoforge-9.6.1-1.21.1.jar

4 extra mods were pulled in by other dependencies. Indented rows show who needs each one. We only count dependency files that match this setup. A file for another loader does not fill the gap.

Before you install it

Add NitoriJS without breaking your instance.

Built for nitorijs-neoforge-1.21.1-0.3.0.jar on NeoForge. Pick another file and the loader, install side or required mods may change.

  1. 01

    Stick to this file

    Use nitorijs-neoforge-1.21.1-0.3.0.jar. It targets 1.21.1 with NeoForge; another release may have different loader, side or dependency requirements.

  2. 02

    Bring the mods it needs

    Install KubeJS, Gensokyo Legacy, Better Advanced Tooltips, Rhino and 2 more first. We found matching files for this game-version and loader setup. 4 come through another mod in the chain.

  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 nitorijs-neoforge-1.21.1-0.3.0.jar. It opens that exact file at the source.

About this project

What does NitoriJS add?

NitoriJS

KubeJS addon for Gensokyo Legacy, applicable to modpack authors.

Currently it supports modifying the transaction content in the character store and adding custom character dialogues, with more modification features to be introduced in the future.

Usage

Static data

  • Writing: ServerEvents.highPriorityData(e => GLData.tradeOffer(e, {...}))
  • Effective: Next time you enter the world
  • Suitable for: Fixed new products/new dialogues/new tasks/gifts/structural configurations

Runtime events

  • Writing: GL.trade(e => { e.addOffer({...}); e.offers.forEach(...) })
  • Effective: Immediately (reopen the store)
  • Suitable for: dynamic price increases, discounts, unlocking based on players/tasks, opening stores for any character

Example

// kubejs/server_scripts/mypack_shop.js
// All goods purchased by characters with copper coins have increased in price by 25%
GL.trade(event => {
    for(let i = 0; i < event.offers.length; i++) {
        const offer = event.offers[i]
        if(offer.kind === 'TRADE' && offer.coin > 0) {
            offer.setCoin(Math.max(1, Math.ceil(price * 1.25)))
        }
    }
})

// Add a product for Kawashiro Nitori that allows for the exchange of "any mod item" for diamonds, with a purchase limit of 2 and daily restocking
GL.trade(event => {
    if (event.characterId !== 'gensokyolegacy:kawashiro_nitori') return
    event.addOffer({
        id: 'mypack/nitori/diamond',
        output: 'minecraft:diamond',
        inputs: [{ item: '#forge:gems/emerald', count: 3 }],
        coin: 16,
        stock: 2,
        restockTime: 24000
    })
})

More examples can be found in the GitHub repository.

Project description from CurseForge.

Pick your setup

NitoriJS by Minecraft version and loader

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

3 available setups

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

Recent files

NitoriJS versions and loaders

2 of 6 releases match
Clear filters

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