public boolean process ( ) { if ( toProcess . size ( ) <= 0 ) return false ; BlockPos pos = toProcess . removeFirst ( ) ; process ( pos ) ; if ( onProcess != null ) onProcess . accept ( world , pos ) ; return true ; }
Processes a single position .