public class SwampLandExporter extends TreesExporter<TreeLayer>
TreesExporter.DeciduousSettings, TreesExporter.PineSettings, TreesExporter.TreeLayerSettings<T extends TreeLayer>
AbstractLayerExporter.ChunksInTilesVisitor
SecondPassLayerExporter.Stage
Constructor and Description |
---|
SwampLandExporter(Dimension dimension,
Platform platform,
ExporterSettings settings,
SwampLand layer) |
Modifier and Type | Method and Description |
---|---|
java.util.List<Fixup> |
addFeatures(java.awt.Rectangle area,
java.awt.Rectangle exportedArea,
MinecraftWorld world)
Add features to an area of the map.
|
apply, getStages
getDimension, getLayer, visitChunksForLayerInAreaForEditing
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
carve, render
getLayer
public SwampLandExporter(Dimension dimension, Platform platform, ExporterSettings settings, SwampLand layer)
public java.util.List<Fixup> addFeatures(java.awt.Rectangle area, java.awt.Rectangle exportedArea, MinecraftWorld world)
SecondPassLayerExporter
SecondPassLayerExporter.getStages()
contains SecondPassLayerExporter.Stage.ADD_FEATURES
,
after the SecondPassLayerExporter.Stage.CARVE
stage is finished for all layers.addFeatures
in interface SecondPassLayerExporter
addFeatures
in class TreesExporter<TreeLayer>
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.