chemtest: debug: true type: task script: - define schem:"Cherry_Tree01" - if <[schem]> not in : - ~schematic load name:Cherry_Tree01 - define PlayerLoc: - narrate <[PlayerLoc]> - narrate ].cuboid[<[PlayerLoc]>]> - define cuboid_area:].cuboid[<[PlayerLoc]>]> # Filter out all solid blocks within the cuboid - define solid_blocks <[cuboid_area].blocks.filter_tag[material.is_solid]> # You can now loop through or manipulate the solid blocks as needed - foreach <[solid_blocks]> as:solid_block: - narrate "Solid block found: <[solid_block].material.name>" # #- ~schematic paste name:<[parts].get[2]> ,<[PlaceY]>,<[PlaceZ]>,<[PlaceW]>]>