public interface MapImporterProvider
map importing functionality
for a particular WorldPainter platform
.Modifier and Type | Method and Description |
---|---|
MapImporter |
getImporter(java.io.File dir,
TileFactory tileFactory,
java.util.Set<MinecraftCoords> chunksToSkip,
MapImporter.ReadOnlyOption readOnlyOption,
java.util.Set<java.lang.Integer> dimensionsToImport)
Get a
MapImporter configured for the specified map and settings. |
MapImporter getImporter(java.io.File dir, TileFactory tileFactory, java.util.Set<MinecraftCoords> chunksToSkip, MapImporter.ReadOnlyOption readOnlyOption, java.util.Set<java.lang.Integer> dimensionsToImport)
MapImporter
configured for the specified map and settings.dir
- The directory of the map to import.tileFactory
- The TileFactory
to use, optionally, for creating the tiles into which the map will be imported.chunksToSkip
- A set of coordinates of chunks to skip. The importer should act as if these chunks do not exist in the map.readOnlyOption
- Whether and how to apply the ReadOnly
layer to the imported world.dimensionsToImport
- The set of dimensions (specified as a set of Constants.DIM_NORMAL
, Constants.DIM_NETHER
and/or Constants.DIM_END
) to import.