@FunctionalInterface
public static interface JavaChunkStore.RegionVisitor
Modifier and Type | Method and Description |
---|---|
boolean |
visitRegion(java.util.Map<DataType,RegionFile> regions)
Visit a Minecraft region file.
|
boolean visitRegion(java.util.Map<DataType,RegionFile> regions) throws java.lang.Exception
For convenience, the visitor may throw checked exceptions. They will be wrapped in a
MDCCapturingRuntimeException
if this happens.
regions
- The region file(s) to be visited.true
if more chunks should be visited, or false
if no more chunks need to be visited.java.lang.Exception