public class MesaGroundGenerator extends GroundGenerator
Modifier and Type | Class and Description |
---|---|
static class |
MesaGroundGenerator.MesaType |
Modifier and Type | Field and Description |
---|---|
protected static org.bukkit.material.MaterialData |
ORANGE_STAINED_CLAY |
protected static org.bukkit.material.MaterialData |
RED_SAND |
Constructor and Description |
---|
MesaGroundGenerator() |
MesaGroundGenerator(MesaGroundGenerator.MesaType type)
Creates a ground generator for mesa biomes.
|
Modifier and Type | Method and Description |
---|---|
void |
generateTerrainColumn(org.bukkit.generator.ChunkGenerator.ChunkData chunkData,
org.bukkit.World world,
Random random,
int x,
int z,
org.bukkit.block.Biome biome,
double surfaceNoise)
Generates a terrain column.
|
setGroundMaterial, setTopMaterial
protected static final org.bukkit.material.MaterialData RED_SAND
protected static final org.bukkit.material.MaterialData ORANGE_STAINED_CLAY
public MesaGroundGenerator()
public MesaGroundGenerator(MesaGroundGenerator.MesaType type)
type
- the type of mesa biome to generatepublic void generateTerrainColumn(org.bukkit.generator.ChunkGenerator.ChunkData chunkData, org.bukkit.World world, Random random, int x, int z, org.bukkit.block.Biome biome, double surfaceNoise)
GroundGenerator
generateTerrainColumn
in class GroundGenerator
chunkData
- the affected chunkworld
- the affected worldrandom
- the PRNG to usex
- the chunk X coordinatez
- the chunk Z coordinatebiome
- the biome this column is insurfaceNoise
- the amplitude of random variation in surface heightCopyright © 2021. All rights reserved.