environmentScan
fun environmentScan(direction: Direction, target: BlockPredicate, continuePredicate: BlockPredicate, maxSteps: Int)
Adds an EnvironmentScanPlacement to this PlacedFeature, which scans for blocks matching the given target BlockPredicate up/down until it finds a matching block, the max number of steps is reached or the continuePredicate not matching the next block. If no matching block is found, empty is returned.
Adds an EnvironmentScanPlacement to this PlacedFeature, which scans for blocks matching the given target BlockPredicate up/down until it finds a matching block or the max number of steps is reached. If no matching block is found, empty is returned.