介绍
中文介绍正在准备中,下面暂时显示原文。
NodeGraph
A reusable node graph editor library and evaluation engine for Minecraft Forge 1.20.1.
Features
- Node editor: nodes with a header, typed input/output ports, and input widgets (text / slider / button-group / dropdown)
- Type system: per-type colors, registry, automatic conversion rules (rendered with a warning)
- Evaluation engine: lazy Blender-style evaluation with cycle detection and per-run caching
- Canvas: pan / zoom / scroll, grid, embeddable
NodeGraphWidget - Node groups: wireframe boxes, drag-to-regroup, resize handle, per-group scale
- Editing: box-select, right-click context menu, copy / cut / paste, full undo/redo, keyboard shortcuts (Ctrl+C/X/V, Del, Ctrl+Z / Ctrl+Shift+Z)
- Add node: searchable overlay; dragging a port to empty space opens a type-filtered menu with auto-connect
- Live results: output ports display their evaluated value each frame; widget edits recompute downstream instantly
Installation
Gradle (Forge 1.20.1 mod consumers use fg.deobf):
repositories {
mavenCentral()
}
dependencies {
implementation fg.deobf('io.github.tt432:nodegraph:1.0.0')
}
In-game usage
- Obtain the Node Graph Editor item from the Tools creative tab.
- Right-click to open the editor.
- Drag from an output port to an input port to connect them — same type only, or auto-convert (shown with an orange warning).
- Right-click the canvas → Add Node… to insert from the catalog; drag a port onto empty space for a type-filtered menu that auto-connects the new node.
- Click a text input widget to edit its value; downstream results recompute live.
- Middle-drag to pan, Ctrl+scroll to zoom, left-drag empty space to box-select.
License
常见问题
node graph 支持哪些 Minecraft 版本?
node graph 支持 Minecraft Java 版 1.20.1–26.1.2,共 3 个版本,可用的加载器:Forge / NeoForge。下载时注意选择和你游戏版本一致的文件。
node graph 怎么安装?
先用 PCL2 或 HMCL 启动器安装对应版本的 Forge / NeoForge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。
QinQianjiu 的其他作品
查看全部 →DustW’s Better Structure Block
by QinQianjiu
解除限制的结构方块。
3万
5 年前
CurseForge
In-backpack Eat
by QinQianjiu
Eating is allowed in the backpack GUI
1,449
4 年前
CurseForge
Stack The Item
by QinQianjiu
Find and quick stack to nearby chests.
1,367
4 年前
CurseForge
Neubulaeko Slime
by QinQianjiu
add a new pet
1,295
5 年前
CurseForge
评论
登录后评论和评分