public class PlatformManager extends AbstractProviderManager<Platform,PlatformProvider>
Modifier and Type | Method and Description |
---|---|
Chunk |
createChunk(Platform platform,
int x,
int z,
int minHeight,
int maxHeight) |
java.util.List<Platform> |
getAllPlatforms() |
ChunkStore |
getChunkStore(Platform platform,
java.io.File worldDir,
int dimension) |
java.io.File |
getDefaultExportDir(Platform platform) |
WorldExporter |
getExporter(World2 world,
WorldExportSettings exportSettings) |
static PlatformManager |
getInstance() |
PlatformProvider |
getPlatformProvider(Platform platform) |
PostProcessor |
getPostProcessor(Platform platform) |
PlatformProvider.MapInfo |
identifyMap(java.io.File worldDir)
Identify a map.
|
Platform |
identifyPlatform(java.io.File worldDir)
Identify the platform a map.
|
getImplementation, getImplementations, getKeys
public java.util.List<Platform> getAllPlatforms()
public PlatformProvider getPlatformProvider(Platform platform)
public ChunkStore getChunkStore(Platform platform, java.io.File worldDir, int dimension)
public WorldExporter getExporter(World2 world, WorldExportSettings exportSettings)
public java.io.File getDefaultExportDir(Platform platform)
public PostProcessor getPostProcessor(Platform platform)
public Platform identifyPlatform(java.io.File worldDir)
worldDir
- The directory to identify.null
if no platform provider claimed support.public PlatformProvider.MapInfo identifyMap(java.io.File worldDir)
worldDir
- The directory to identify.null
if no platform
provider claimed support.public static PlatformManager getInstance()