CRUX

Visual scripting · sensing · commands

Visual scripting

  • A node graph is logic made of event, flow, action and value nodes joined by links. It runs on the server.
  • Where graphs live: graph components on objects, graph files (shared by several objects) and function files (graphs with inputs and outputs).
  • One node is one Java method. Java view in the node editor, Export to Java and View Java as nodes. Details
  • Full node list and support by version: All nodes page. All nodes

Event node fields

FieldApplies toValues
WhereCancellable events with a block or entityAnywhere · only on this object
Vanilla behaviorAll cancellable eventsKeep vanilla · graph instead of vanilla
Key · state · nameUI, key, quest, command, state and signal eventsEmpty = all; a value = that one only
SecondsTimer, while in trigger, area stayRepeat interval
  • Node "Vanilla behavior" runs the original Minecraft behavior on a line set to graph instead of vanilla; the next node runs on the next tick. Details
  • Node "Cancel" cancels the event; effective only before a wait.

Sensing · triggers

  • Trigger and region templates are collider sensor boxes with enter, stay and exit events.
  • Trigger command text (enter, exit and stay commands) runs with the same sensing rules. Commands can use {player} {x} {y} {z}.

Collision · sensing page

Live view

  • Run with the graph open in the node editor: visited nodes highlight, values appear on links, and time per second (ms), run count and variable values are shown.
  • Sent only to the person watching; unwatched graphs have no overhead.
  • Profiler window: the eight slowest graphs over the last second.

Commands · .mcfunction

  • Project "+" menu, Import .mcfunction: creates a function graph with one command node per line (comments and blank lines skipped).
  • Right-click a graph file, Export as .mcfunction: available when the line contains only command nodes; otherwise the number of other nodes is shown.
  • Command names are checked against the version command tree. 1.12.2 has no command tree, so no check.

crux-docs · client 0.3.25 · plugin 1.4.0 · mc 26.3 · updated 2026-10-11 · report a mistake