Multiblocked2 Wiki › Guides › Use Logic Nodes to Control Machine Behavior
Use Logic Nodes to Control Machine Behavior
Understanding the Node Graph System
Multiblocked2 replaces complex scripting with a visual node graph, similar to shader editors or Blender's node system. Access this through your machine's logic settings in the editor.
Building Your Logic
Connect nodes to create machine behavior:
- Event nodes: Trigger actions (machine activated, recipe started, inventory full)
- Condition nodes: Check states (has enough items, energy level above threshold)
- Action nodes: Execute commands (consume items, produce output, emit particles)
Drag connection lines between node outputs and inputs to create logic flows. For example: connect a "recipe started" event → check if input inventory has materials → if true, consume items and start processing.
This visual approach lets you build sophisticated machine logic without writing code. Test your logic by assembling the machine and triggering different scenarios.