public class NetherGenerator extends GlowChunkGenerator
WORLD_DEPTH| Constructor and Description |
|---|
NetherGenerator()
Creates a chunk generator for the Nether.
|
| Modifier and Type | Method and 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) |
getDefaultPopulators, getWorldOctavespublic NetherGenerator()
public org.bukkit.generator.ChunkGenerator.ChunkData generateChunkData(org.bukkit.World world,
Random random,
int chunkX,
int chunkZ,
org.bukkit.generator.ChunkGenerator.BiomeGrid biomes)
generateChunkData in class org.bukkit.generator.ChunkGeneratorpublic boolean canSpawn(org.bukkit.World world,
int x,
int z)
canSpawn in class GlowChunkGeneratorpublic org.bukkit.Location getFixedSpawnLocation(org.bukkit.World world,
Random random)
getFixedSpawnLocation in class GlowChunkGeneratorprotected void createWorldOctaves(org.bukkit.World world,
Map<String,org.bukkit.util.noise.OctaveGenerator> octaves)
GlowChunkGeneratorOctaveGenerator instances for the world.createWorldOctaves in class GlowChunkGeneratorworld - The world to create OctaveGenerators foroctaves - The map to put the OctaveGenerators intopublic void generateTerrainColumn(org.bukkit.generator.ChunkGenerator.ChunkData chunkData,
org.bukkit.World world,
Random random,
int x,
int z,
double surfaceNoise,
double soulsandNoise,
double gravelNoise)
chunkData - the chunk in which to generateworld - the worldrandom - the PRNGx - the column x coordinatez - the column z coordinatesurfaceNoise - amplitude of surface-height variationsoulsandNoise - determines the chance of a soul sand patchgravelNoise - determines the chance of a gravel patchCopyright © 2021. All rights reserved.