Sure - you can filter the contents of this piece of data to implement getBlockNeighboursAsPipes.