public class SwampLand extends TreeLayer
Layer.DataSize| Modifier and Type | Method and Description |
|---|---|
int |
getDefaultMaxWaterDepth() |
float |
getDefaultMushroomChance() |
int |
getDefaultMushroomIncidence() |
int |
getDefaultTreeChance() |
SwampLandExporter |
getExporter(Dimension dimension,
Platform platform,
ExporterSettings settings)
Create a new exporter for this layer.
|
java.lang.Class<? extends LayerExporter> |
getExporterType()
Return the type of the exporter that
Layer.getExporter(Dimension, Platform, ExporterSettings) will return. |
TreeType |
pickTree(java.util.Random random) |
getDefaultLayerStrengthCapcompareTo, equals, getDataSize, getDefaultValue, getDescription, getIcon, getId, getMnemonic, getName, getPriority, getRenderer, hashCode, isExportableToFile, setDescription, setName, toStringpublic static final SwampLand INSTANCE
public java.lang.Class<? extends LayerExporter> getExporterType()
LayerLayer.getExporter(Dimension, Platform, ExporterSettings) will return.
If that method is implemented, this method must also be implemented. May be used to examine which phases the
exporter requires. May return null for layers that cannot be exported.getExporterType in class TreeLayerpublic SwampLandExporter getExporter(Dimension dimension, Platform platform, ExporterSettings settings)
LayerIf this method is implemented, Layer.getExporterType() must also be implemented to indicate which type this
method will return.
getExporter in class TreeLayerdimension - The dimension that is being exported.platform - The platform for which the dimension is being exported.settings - The configured settings for the layer, if any. May be null.public TreeType pickTree(java.util.Random random)
public int getDefaultMaxWaterDepth()
getDefaultMaxWaterDepth in class TreeLayerpublic int getDefaultTreeChance()
getDefaultTreeChance in class TreeLayerpublic int getDefaultMushroomIncidence()
getDefaultMushroomIncidence in class TreeLayerpublic float getDefaultMushroomChance()
getDefaultMushroomChance in class TreeLayer