Back to mods
Nodeflow project artwork

Modrinth · Minecraft mod

Nodeflow

A library for graph based programming interfaces in minecraft on the fabric modloader

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

Quick answer

Which Nodeflow release should I use?

Updated 7 months ago
Latest stable file 2.3.0+mc.26.1.2
Game version 26.1.2
Loader Fabric

Nodeflow 2.3.0+mc.26.1.2 targets 26.1.2 with Fabric. Installation on the client is optional. Installation on the dedicated server is optional. All 1 required mods have matching files.

Where it goes

Is Nodeflow required on the client, server, or both?

Installation on the client is optional. Installation on the dedicated server is optional.

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

The source marks this as usable on both the client and server.

What else does Nodeflow 2.3.0+mc.26.1.2 need?

2.3.0+mc.26.1.2. Change the file and its required mods may change too.

All 1 required mods have matching files

Install Fabric API first. We found matching files for this game-version and loader setup.

Fabric API Needed by Nodeflow 2.3.0+mc.26.1.2
required
Matching file found Matched file: 0.155.3+26.1.2

We only count dependency files that match this setup. A file for another loader does not fill the gap.

Before you install it

Add Nodeflow without breaking your instance.

Built for Nodeflow 2.3.0+mc.26.1.2. Pick another file and the loader, install side or required mods may change.

  1. 01

    Stick to this file

    Use 2.3.0+mc.26.1.2. It targets 26.1.2 with Fabric; another release may have different loader, side or dependency requirements.

  2. 02

    Bring the mods it needs

    Install Fabric API first. We found matching files for this game-version and loader setup.

  3. 03

    Put it on the correct side

    Installation on the client is optional. Installation on the dedicated server is optional.

  4. 04

    Pick the file you checked

    Use the “Get this file” button beside 2.3.0+mc.26.1.2. It opens that exact file at the source.

About this project

What does Nodeflow add?

Nodeflow

Nodeflow is a library for graph based programming interfaces in minecraft on the fabric modloader.

Getting Started

Add a dependency on the library from jitpack. You can also use the modrinth maven,
but you might end having to manually add a dependency on mixin extras then.

repositories {
    maven { url 'https://jitpack.io' }
}

dependencies {
    implementation 'com.github.mattidragon:nodeflow:$nodeflow_version'
}

To get started you will want to create a GraphEnvironment. Most mods will only ever need one, but if the available nodes change, feel free to create one every time.

public static final GraphEnvironment ENVIRONMENT = GraphEnvironment.builder()
        // Adds context that nodes need to execute. Stays same during each evaluation
        .addContextTypes(ContextType.SERVER_WORLD, ContextType.BLOCK_POS, ContextType.SERVER)
        // Datatypes that are allowed to be used. Exists for nodes that can act on any data type to know which ones are allowed
        .addDataTypes(DataType.BOOLEAN, DataType.NUMBER, DataType.STRING)
        // Adds groups of nodes at a time. They are also used for grouping in the editor.
        .addNodeGroups(new TagNodeGroup(NodeGroup.MATH), new TagNodeGroup(NodeGroup.ADVANCED_MATH), new TagNodeGroup(NodeGroup.LOGIC), new TagNodeGroup(ModNodeTypes.REDSTONE_GROUP))
        // Adds single nodes. They will be placed in a misc group.
        .addNodeTypes(NodeType.TIME)
        .build();

Using this environment you can create a EditorScreen, although you usually don't have any use for the base class.

If you are using a block entity for holding your code you can make it implement GraphProvidingBlockEntity in addition to extending BlockEntity.
This interface already implements ExtendedScreenHandlerFactory so all you have to do is open the screen from the block entity.
Nodeflow will handle syncing the graph on change.

If you aren't storing the graph in a block you can create a subclass of EditorScreen and handle syncing yourself (or not if you are fully client sided).

Proper javadocs and a wiki might come in the future.

Project description from Modrinth.

Pick your setup

Nodeflow by Minecraft version and loader

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

14 available setups

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

Recent files

Nodeflow versions and loaders

11 of 11 releases match

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