protected boolean shouldProcessed ( BlockPos pos ) { if ( toProcess . contains ( pos ) || processed . contains ( pos ) ) return false ; return shouldProcess == null || shouldProcess . test ( world , pos ) ; }
Checks whether the position should be processed .