public abstract class AbstractTunnelLayerExporter extends AbstractCavesExporter<TunnelLayer>
AbstractCavesExporter.CaveDecorationSettings
AbstractLayerExporter.ChunksInTilesVisitor
Modifier and Type | Field and Description |
---|---|
protected static java.awt.Font |
HEIGHT_MARKER_FONT |
protected TunnelLayerHelper |
helper |
decorationEnabled
Constructor and Description |
---|
AbstractTunnelLayerExporter(Dimension dimension,
Platform platform,
TunnelLayer layer,
TunnelLayerHelper helper) |
Modifier and Type | Method and Description |
---|---|
java.util.List<Fixup> |
addFeatures(java.awt.Rectangle area,
java.awt.Rectangle exportedArea,
MinecraftWorld world) |
protected void |
setIfSolid(MinecraftWorld world,
Chunk chunk,
int x,
int y,
int z,
int minZ,
int maxZ,
Material material,
boolean flooded,
int terrainHeight,
int waterLevel,
boolean removeWater)
Set a block on the specified world or chunk, if the location is valid and the existing block at that location is
substantial.
|
protected boolean |
whereTunnelIsRealisedDo(Tile tile,
int chunkX,
int chunkZ,
java.util.function.Supplier<Chunk> chunkSupplier,
org.pepsoft.worldpainter.layers.tunnel.AbstractTunnelLayerExporter.ColumnVisitor visitor) |
decorateBlock, emptyBlockEncountered, processBlock, resetColumn, setupForColumn
getDimension, getLayer, visitChunksForLayerInAreaForEditing
protected final TunnelLayerHelper helper
protected static final java.awt.Font HEIGHT_MARKER_FONT
public AbstractTunnelLayerExporter(Dimension dimension, Platform platform, TunnelLayer layer, TunnelLayerHelper helper)
public java.util.List<Fixup> addFeatures(java.awt.Rectangle area, java.awt.Rectangle exportedArea, MinecraftWorld world)
protected final boolean whereTunnelIsRealisedDo(Tile tile, int chunkX, int chunkZ, java.util.function.Supplier<Chunk> chunkSupplier, org.pepsoft.worldpainter.layers.tunnel.AbstractTunnelLayerExporter.ColumnVisitor visitor)
protected final void setIfSolid(MinecraftWorld world, Chunk chunk, int x, int y, int z, int minZ, int maxZ, Material material, boolean flooded, int terrainHeight, int waterLevel, boolean removeWater)
If the specified coordinates lie on the specified Chunk
, block will be set directly on it; otherwise
it will be set via the MinecraftWorld
.