public class TunnelLayerExporter extends AbstractTunnelLayerExporter implements SecondPassLayerExporter
AbstractCavesExporter.CaveDecorationSettingsAbstractLayerExporter.ChunksInTilesVisitorSecondPassLayerExporter.StageHEIGHT_MARKER_FONT, helperdecorationEnabled| Constructor and Description |
|---|
TunnelLayerExporter(Dimension dimension,
Platform platform,
TunnelLayer layer,
TunnelLayerHelper helper) |
| 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.
|
static java.awt.image.BufferedImage |
generatePreview(TunnelLayer layer,
int width,
int height,
int waterLevel,
int minHeight,
int baseHeight,
int heightDifference) |
java.util.Set<SecondPassLayerExporter.Stage> |
getStages() |
addFeatures, setIfSolid, whereTunnelIsRealisedDodecorateBlock, emptyBlockEncountered, processBlock, resetColumn, setupForColumngetDimension, getLayer, visitChunksForLayerInAreaForEditingclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddFeatures, rendergetLayerpublic TunnelLayerExporter(Dimension dimension, Platform platform, TunnelLayer layer, TunnelLayerHelper helper)
public java.util.Set<SecondPassLayerExporter.Stage> getStages()
getStages in interface SecondPassLayerExporterpublic java.util.List<Fixup> carve(java.awt.Rectangle area, java.awt.Rectangle exportedArea, MinecraftWorld world)
SecondPassLayerExporterSecondPassLayerExporter.getStages() contains SecondPassLayerExporter.Stage.CARVE.carve 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.world - The MinecraftWorld to which to export the layer.public static java.awt.image.BufferedImage generatePreview(TunnelLayer layer, int width, int height, int waterLevel, int minHeight, int baseHeight, int heightDifference)