public class CliffCarverExporter extends AbstractLayerExporter<CliffCarver> implements SecondPassLayerExporter
AbstractLayerExporter.ChunksInTilesVisitor
SecondPassLayerExporter.Stage
Constructor and Description |
---|
CliffCarverExporter(Dimension dimension,
Platform platform,
ExporterSettings settings,
CliffCarver layer) |
Modifier and Type | Method and Description |
---|---|
java.util.List<Fixup> |
carve(java.awt.Rectangle area,
java.awt.Rectangle exportedArea,
MinecraftWorld world)
Carve an area of the map.
|
int |
getMinCliffHeight() |
void |
setMinCliffHeight(int minCliffHeight) |
getDimension, getLayer, visitChunksForLayerInAreaForEditing
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addFeatures, getStages, render
getLayer
public CliffCarverExporter(Dimension dimension, Platform platform, ExporterSettings settings, CliffCarver layer)
public int getMinCliffHeight()
public void setMinCliffHeight(int minCliffHeight)
public java.util.List<Fixup> carve(java.awt.Rectangle area, java.awt.Rectangle exportedArea, MinecraftWorld world)
SecondPassLayerExporter
SecondPassLayerExporter.getStages()
contains SecondPassLayerExporter.Stage.CARVE
.carve
in interface SecondPassLayerExporter
area
- The area to process.exportedArea
- The area which will actually be exported. May be smaller than area
. May be used to
for instance avoid objects getting cut off at area boundaries.world
- The MinecraftWorld
to which to export the layer.