public abstract class ArbitraryBiomeShape extends Object
getBiome(int, int, com.sk89q.worldedit.BiomeType) method.| Constructor and Description |
|---|
ArbitraryBiomeShape(Region extent) |
| Modifier and Type | Method and Description |
|---|---|
int |
generate(EditSession editSession,
BiomeType biomeType,
boolean hollow)
Generates the shape.
|
protected abstract BiomeType |
getBiome(int x,
int z,
BiomeType defaultBiomeType)
Override this function to specify the shape to generate.
|
protected Iterable<Vector2D> |
getExtent() |
public ArbitraryBiomeShape(Region extent)
protected abstract BiomeType getBiome(int x, int z, BiomeType defaultBiomeType)
x - X coordinate to be queriedz - Z coordinate to be querieddefaultBiomeType - The default biome for the current column.public int generate(EditSession editSession, BiomeType biomeType, boolean hollow)
editSession - The EditSession to use.biomeType - The default biome type.hollow - Specifies whether to generate a hollow shape.Copyright © 2010-2014. All Rights Reserved.