schemtest: debug: false type: task script: - define schem Cherry_Tree01 - if <[schem]> not in : - ~schematic load name:Cherry_Tree01 # Defining Location, Outline of the Schematic and what Blocks are there. - define SchemLoc: - define cuboid_area:].cuboid[<[SchemLoc]>]> - define block_list <[cuboid_area].blocks.parse[material]> # Define Initial List of Overwrite Blocks - define mask li@m@air|m@oak_leaves|m@cherry_leaves # Loop through all Blocks, and add any considered NonSolid to the Mask. - foreach <[block_list]> as:block: - if not <[block].is_solid>: - if <[block]> not in <[mask]>: - define mask |<[block]>]> # Paste the Schematic - ~schematic paste name:<[schem]> mask:<[mask]> noair <[SchemLoc]>