Class GroundGenerator

java.lang.Object
net.glowstone.generator.ground.GroundGenerator
Direct Known Subclasses:
DirtAndStonePatchGroundGenerator, DirtPatchGroundGenerator, GravelPatchGroundGenerator, MesaGroundGenerator, MycelGroundGenerator, RockyGroundGenerator, SandyGroundGenerator, SnowyGroundGenerator, StonePatchGroundGenerator

public class GroundGenerator extends Object
  • 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 chunk
      world - the affected world
      random - the PRNG to use
      x - the chunk X coordinate
      z - the chunk Z coordinate
      biome - the biome this column is in
      surfaceNoise - the amplitude of random variation in surface height
    • setTopMaterial

      public void setTopMaterial(org.bukkit.Material topMaterial)
    • setGroundMaterial

      public void setGroundMaterial(org.bukkit.Material groundMaterial)