Sandbox.ModAPI.Ingame.IMyGridTerminalSystem.SearchBlocksOfName - bimbam2103/space_engineers GitHub Wiki

IndexNamespace IndexIMyGridTerminalSystem

Summary

public void SearchBlocksOfName(string name, List<IMyTerminalBlock> blocks, Func<IMyTerminalBlock, bool> collect = null)

Fills the provided list with the blocks reachable by this grid terminal system. This means all blocks on the same grid, or connected via rotors, pistons or connectors.

Parameters

⚠️ **GitHub.com Fallback** ⚠️