public class RegionFileCache extends Object
Constructor and Description |
---|
RegionFileCache(File basePath,
String extension) |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
RegionFile |
getRegionFile(int chunkX,
int chunkZ)
Returns the region file where a chunk is stored, opening it if necessary.
|
public RegionFile getRegionFile(int chunkX, int chunkZ)
chunkX
- the absolute chunk X coordinatechunkZ
- the absolute chunk Z coordinatepublic void clear() throws RejectedExecutionException
RejectedExecutionException
Copyright © 2021. All rights reserved.