Class NetherGenerator

java.lang.Object
org.bukkit.generator.ChunkGenerator
net.glowstone.generator.GlowChunkGenerator
net.glowstone.generator.NetherGenerator

public class NetherGenerator extends GlowChunkGenerator
  • Nested Class Summary

    Nested classes/interfaces inherited from class org.bukkit.generator.ChunkGenerator

    org.bukkit.generator.ChunkGenerator.BiomeGrid, org.bukkit.generator.ChunkGenerator.ChunkData
  • Field Summary

    Fields inherited from class net.glowstone.generator.GlowChunkGenerator

    WORLD_DEPTH
  • Constructor Summary

    Constructors
    Constructor
    Description
    Creates a chunk generator for the Nether.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    canSpawn(org.bukkit.World world, int x, int z)
     
    protected void
    createWorldOctaves(org.bukkit.World world, Map<String,org.bukkit.util.noise.OctaveGenerator> octaves)
    Populates a Map with the OctaveGenerator instances for the world.
    org.bukkit.generator.ChunkGenerator.ChunkData
    generateChunkData(org.bukkit.World world, Random random, int chunkX, int chunkZ, org.bukkit.generator.ChunkGenerator.BiomeGrid biomes)
     
    void
    generateTerrainColumn(org.bukkit.generator.ChunkGenerator.ChunkData chunkData, org.bukkit.World world, Random random, int x, int z, double surfaceNoise, double soulsandNoise, double gravelNoise)
    Generates a terrain column.
    org.bukkit.Location
    getFixedSpawnLocation(org.bukkit.World world, Random random)
     

    Methods inherited from class net.glowstone.generator.GlowChunkGenerator

    getDefaultPopulators, getWorldOctaves

    Methods inherited from class org.bukkit.generator.ChunkGenerator

    createChunkData, createVanillaChunkData, isParallelCapable, shouldGenerateCaves, shouldGenerateDecorations, shouldGenerateMobs, shouldGenerateStructures

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • NetherGenerator

      public NetherGenerator()
      Creates a chunk generator for the Nether.
  • Method Details

    • generateChunkData

      public org.bukkit.generator.ChunkGenerator.ChunkData generateChunkData(org.bukkit.World world, Random random, int chunkX, int chunkZ, org.bukkit.generator.ChunkGenerator.BiomeGrid biomes)
      Overrides:
      generateChunkData in class org.bukkit.generator.ChunkGenerator
    • canSpawn

      public boolean canSpawn(org.bukkit.World world, int x, int z)
      Overrides:
      canSpawn in class GlowChunkGenerator
    • getFixedSpawnLocation

      public org.bukkit.Location getFixedSpawnLocation(org.bukkit.World world, Random random)
      Overrides:
      getFixedSpawnLocation in class GlowChunkGenerator
    • createWorldOctaves

      protected void createWorldOctaves(org.bukkit.World world, Map<String,org.bukkit.util.noise.OctaveGenerator> octaves)
      Description copied from class: GlowChunkGenerator
      Populates a Map with the OctaveGenerator instances for the world.
      Overrides:
      createWorldOctaves in class GlowChunkGenerator
      Parameters:
      world - The world to create OctaveGenerators for
      octaves - The map to put the OctaveGenerators into
    • generateTerrainColumn

      public void generateTerrainColumn(org.bukkit.generator.ChunkGenerator.ChunkData chunkData, org.bukkit.World world, Random random, int x, int z, double surfaceNoise, double soulsandNoise, double gravelNoise)
      Generates a terrain column.
      Parameters:
      chunkData - the chunk in which to generate
      world - the world
      random - the PRNG
      x - the column x coordinate
      z - the column z coordinate
      surfaceNoise - amplitude of surface-height variation
      soulsandNoise - determines the chance of a soul sand patch
      gravelNoise - determines the chance of a gravel patch