@FunctionalInterface
public static interface ChunkStore.ChunkVisitor
| Modifier and Type | Method and Description | 
|---|---|
| default boolean | chunkError(MinecraftCoords coords,
          java.lang.String message)This is called when a chunk is skipped due to a loading error, to
 give the visitor the opportunity to record the error or abort the
 process. | 
| boolean | visitChunk(Chunk chunk)Visit a chunk. | 
boolean visitChunk(Chunk chunk) throws java.lang.Exception
For convenience, the visitor may throw checked exceptions. They will be wrapped in a
 MDCCapturingRuntimeException if this happens.
chunk - The chunk to be visited.true if more chunks should be visited, or false if no more chunks need to be visited.java.lang.Exceptiondefault boolean chunkError(MinecraftCoords coords, java.lang.String message)
visitChunk(Chunk) is
 not called for that chunk!
 The default implementation just returns true so that the
 process continues.
coords - The coordinates of the problematic chunk, or
 null if they are not known or do not apply.message - A message describing the problem with the chunktrue if more chunks should be visited, or
 false if no more chunks should be visited.