Class PlaceBlockNode

java.lang.Object
com.soulfiremc.server.script.AbstractScriptNode
com.soulfiremc.server.script.nodes.action.PlaceBlockNode
All Implemented Interfaces:
ScriptNode

public final class PlaceBlockNode extends AbstractScriptNode
Action node that places a block at a specified position. This is an async operation that pathfinds to the location and places a block. Inputs: position (Vec3 target block coordinates) Output: success (boolean)
  • Field Details

  • Constructor Details

    • PlaceBlockNode

      public PlaceBlockNode()
  • Method Details

    • executeReactive

      public reactor.core.publisher.Mono<Map<String, NodeValue>> executeReactive(NodeRuntime runtime, Map<String, NodeValue> inputs)
      Description copied from interface: ScriptNode
      Executes this node reactively with the given runtime and inputs.
      Parameters:
      runtime - the node runtime providing access to instance and scheduler
      inputs - the resolved input values from connected nodes or default values
      Returns:
      a Mono that completes with the node's output values