Package net.glowstone.generator
Class GlowChunkGenerator
java.lang.Object
org.bukkit.generator.ChunkGenerator
net.glowstone.generator.GlowChunkGenerator
- Direct Known Subclasses:
 NetherGenerator,OverworldGenerator,SuperflatGenerator,TheEndGenerator
public abstract class GlowChunkGenerator
extends org.bukkit.generator.ChunkGenerator
Base chunk generator class.
- 
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 - 
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedGlowChunkGenerator(org.bukkit.generator.BlockPopulator... args)  - 
Method Summary
Modifier and TypeMethodDescriptionbooleancanSpawn(org.bukkit.World world, int x, int z) protected voidcreateWorldOctaves(org.bukkit.World world, Map<String, org.bukkit.util.noise.OctaveGenerator> octaves) Populates a Map with theOctaveGeneratorinstances for the world.final List<org.bukkit.generator.BlockPopulator>getDefaultPopulators(org.bukkit.World world) org.bukkit.LocationgetFixedSpawnLocation(org.bukkit.World world, Random random) getWorldOctaves(org.bukkit.World world) Returns theOctaveGeneratorinstances for the world, which are either newly created or retrieved from the cache.Methods inherited from class org.bukkit.generator.ChunkGenerator
createChunkData, createVanillaChunkData, generateChunkData, isParallelCapable, shouldGenerateCaves, shouldGenerateDecorations, shouldGenerateMobs, shouldGenerateStructures 
- 
Field Details
- 
WORLD_DEPTH
protected static final int WORLD_DEPTH- See Also:
 
 
 - 
 - 
Constructor Details
- 
GlowChunkGenerator
protected GlowChunkGenerator(org.bukkit.generator.BlockPopulator... args)  
 - 
 - 
Method Details
- 
createWorldOctaves
protected void createWorldOctaves(org.bukkit.World world, Map<String, org.bukkit.util.noise.OctaveGenerator> octaves) Populates a Map with theOctaveGeneratorinstances for the world.- Parameters:
 world- The world to create OctaveGenerators foroctaves- The map to put the OctaveGenerators into
 - 
getWorldOctaves
protected final Map<String,org.bukkit.util.noise.OctaveGenerator> getWorldOctaves(org.bukkit.World world) Returns theOctaveGeneratorinstances for the world, which are either newly created or retrieved from the cache.- Parameters:
 world- The world to look for in the cache- Returns:
 - A map of 
OctaveGenerators created bycreateWorldOctaves(World, Map) 
 - 
getDefaultPopulators
- Overrides:
 getDefaultPopulatorsin classorg.bukkit.generator.ChunkGenerator
 - 
canSpawn
public boolean canSpawn(org.bukkit.World world, int x, int z) - Overrides:
 canSpawnin classorg.bukkit.generator.ChunkGenerator
 - 
getFixedSpawnLocation
- Overrides:
 getFixedSpawnLocationin classorg.bukkit.generator.ChunkGenerator
 
 -