Package net.glowstone.generator.ground
Class GroundGenerator
java.lang.Object
net.glowstone.generator.ground.GroundGenerator
- Direct Known Subclasses:
DirtAndStonePatchGroundGenerator
,DirtPatchGroundGenerator
,GravelPatchGroundGenerator
,MesaGroundGenerator
,MycelGroundGenerator
,RockyGroundGenerator
,SandyGroundGenerator
,SnowyGroundGenerator
,StonePatchGroundGenerator
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
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.void
setGroundMaterial
(org.bukkit.Material groundMaterial) void
setTopMaterial
(org.bukkit.Material topMaterial)
-
Constructor Details
-
GroundGenerator
public GroundGenerator()
-
-
Method Details
-
generateTerrainColumn
public 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.- Parameters:
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 height
-
setTopMaterial
public void setTopMaterial(org.bukkit.Material topMaterial) -
setGroundMaterial
public void setGroundMaterial(org.bukkit.Material groundMaterial)
-