public class JavaWorldMerger extends JavaWorldExporter
AbstractWorldExporter.ExportResultsplatformProviderDATE_FORMAT, performingFixups, platform, populateSupported, world, worldExportSettings| Constructor and Description | 
|---|
| JavaWorldMerger(World2 world,
               WorldExportSettings exportSettings,
               java.io.File mapDir,
               Platform platform) | 
| Modifier and Type | Method and Description | 
|---|---|
| java.io.File | getMapDir() | 
| int | getSurfaceMergeDepth() | 
| java.lang.String | getWarnings() | 
| boolean | isAborted() | 
| boolean | isClearManMadeAboveGround()Whether to remove all man-made blocks above ground (by replacing them
 with air). | 
| boolean | isClearManMadeBelowGround()Whether to remove all man-made blocks below ground (by replacing them
 with whatever natural block it is surrounded by most, including air). | 
| boolean | isClearResources()Whether to remove any existing resource blocks (diamonds, coal, iron ore,
 emeralds, redstone ore, gold ore; by changing them to stone blocks)
 below the surface. | 
| boolean | isClearTrees()Whether to clear any existing trees (wood and leaf blocks, as well as
 vines, cocoa plants and saplings) above the surface. | 
| boolean | isClearVegetation()Whether to remove any above ground vegetation (tall grass, flowers,
 mushrooms, crops, etc.) other than trees. | 
| boolean | isFillCaves()Whether to remove any existing caves (by changing all air blocks to the
 most prevalent surrounding block, or stone if it is mostly surrounded by
 air) below the surface. | 
| boolean | isMergeBiomesAboveGround() | 
| boolean | isMergeBiomesUnderground() | 
| boolean | isMergeBlocksAboveGround() | 
| boolean | isMergeBlocksUnderground() | 
| boolean | isReplaceChunks() | 
| void | merge(java.io.File backupDir,
     org.pepsoft.util.ProgressReceiver progressReceiver) | 
| JavaLevel | performSanityChecks()Perform sanity checks to ensure the merge can proceed. | 
| void | setClearManMadeAboveGround(boolean clearManMadeAboveGround) | 
| void | setClearManMadeBelowGround(boolean clearManMadeBelowGround) | 
| void | setClearResources(boolean clearResources) | 
| void | setClearTrees(boolean clearTrees) | 
| void | setClearVegetation(boolean clearVegetation) | 
| void | setFillCaves(boolean fillCaves) | 
| void | setMergeBiomesAboveGround(boolean mergeBiomesAboveGround) | 
| void | setMergeBiomesUnderground(boolean mergeBiomesUnderground) | 
| void | setMergeBlocksAboveGround(boolean mergeBlocksAboveGround) | 
| void | setMergeBlocksUnderground(boolean mergeBlocksUnderground) | 
| void | setReplaceChunks(boolean replaceChunks) | 
| void | setSurfaceMergeDepth(int surfaceMergeDepth) | 
createWorld, export, exportDimensionapplyWorldExportSettings, blockPropertiesPass, createChunk, createExecutorService, exportRegion, firstPass, getExportersForRegion, getIntHeightAt, getWaterLevelAt, getWorld, isReadyForFixups, logLayers, moveEntityTileData, parallelExportRegions, performFixups, performFixupsIfNecessary, restoreDimensionAfterExport, secondPass, selectBackupDir, setupDimensionForExportclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitselectBackupDirpublic JavaWorldMerger(World2 world, WorldExportSettings exportSettings, java.io.File mapDir, Platform platform)
public java.io.File getMapDir()
public boolean isReplaceChunks()
public void setReplaceChunks(boolean replaceChunks)
public boolean isMergeBlocksAboveGround()
public void setMergeBlocksAboveGround(boolean mergeBlocksAboveGround)
public boolean isMergeBlocksUnderground()
public void setMergeBlocksUnderground(boolean mergeBlocksUnderground)
public boolean isMergeBiomesAboveGround()
public void setMergeBiomesAboveGround(boolean mergeBiomesAboveGround)
public boolean isMergeBiomesUnderground()
public void setMergeBiomesUnderground(boolean mergeBiomesUnderground)
public int getSurfaceMergeDepth()
public void setSurfaceMergeDepth(int surfaceMergeDepth)
public boolean isClearTrees()
public void setClearTrees(boolean clearTrees)
public boolean isClearResources()
public void setClearResources(boolean clearResources)
public boolean isFillCaves()
public void setFillCaves(boolean fillCaves)
public boolean isClearVegetation()
public void setClearVegetation(boolean clearVegetation)
public boolean isClearManMadeAboveGround()
public void setClearManMadeAboveGround(boolean clearManMadeAboveGround)
public boolean isClearManMadeBelowGround()
public void setClearManMadeBelowGround(boolean clearManMadeBelowGround)
public JavaLevel performSanityChecks() throws java.io.IOException
IllegalArgumentException if the check
 fails, with the message describing the problem. Returns the loaded Minecraft level object as a convenience.java.lang.IllegalArgumentException - If there is a problem that would prevent the merge from completing.java.io.IOException - If the level.dat file could not be read due to an I/O error.public void merge(java.io.File backupDir,
                  org.pepsoft.util.ProgressReceiver progressReceiver)
           throws java.io.IOException,
                  org.pepsoft.util.ProgressReceiver.OperationCancelled
java.io.IOExceptionorg.pepsoft.util.ProgressReceiver.OperationCancelledpublic java.lang.String getWarnings()
public boolean isAborted()