public class RiverExporter extends AbstractLayerExporter<River> implements SecondPassLayerExporter
| Modifier and Type | Class and Description |
|---|---|
static class |
RiverExporter.RiverSettings |
AbstractLayerExporter.ChunksInTilesVisitorSecondPassLayerExporter.Stage| Constructor and Description |
|---|
RiverExporter(Dimension dimension,
Platform platform,
ExporterSettings settings) |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<Fixup> |
addFeatures(java.awt.Rectangle area,
java.awt.Rectangle exportedArea,
MinecraftWorld minecraftWorld)
Add features to an area of the map.
|
java.util.Set<SecondPassLayerExporter.Stage> |
getStages() |
getDimension, getLayer, visitChunksForLayerInAreaForEditingclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcarve, rendergetLayerpublic RiverExporter(Dimension dimension, Platform platform, ExporterSettings settings)
public java.util.Set<SecondPassLayerExporter.Stage> getStages()
getStages in interface SecondPassLayerExporterpublic java.util.List<Fixup> addFeatures(java.awt.Rectangle area, java.awt.Rectangle exportedArea, MinecraftWorld minecraftWorld)
SecondPassLayerExporterSecondPassLayerExporter.getStages() contains SecondPassLayerExporter.Stage.ADD_FEATURES,
after the SecondPassLayerExporter.Stage.CARVE stage is finished for all layers.addFeatures in interface SecondPassLayerExporterarea - 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.minecraftWorld - The MinecraftWorld to which to export the layer.