public abstract class GlowChunkGenerator
extends org.bukkit.generator.ChunkGenerator
| Modifier and Type | Field and Description |
|---|---|
protected static int |
WORLD_DEPTH |
| Modifier | Constructor and Description |
|---|---|
protected |
GlowChunkGenerator(org.bukkit.generator.BlockPopulator... args) |
| 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. |
List<org.bukkit.generator.BlockPopulator> |
getDefaultPopulators(org.bukkit.World world) |
org.bukkit.Location |
getFixedSpawnLocation(org.bukkit.World world,
Random random) |
protected Map<String,org.bukkit.util.noise.OctaveGenerator> |
getWorldOctaves(org.bukkit.World world)
Returns the
OctaveGenerator instances for the world, which are either newly created
or retrieved from the cache. |
protected static final int WORLD_DEPTH
protected GlowChunkGenerator(org.bukkit.generator.BlockPopulator... args)
protected void createWorldOctaves(org.bukkit.World world,
Map<String,org.bukkit.util.noise.OctaveGenerator> octaves)
OctaveGenerator instances for the world.world - The world to create OctaveGenerators foroctaves - The map to put the OctaveGenerators intoprotected final Map<String,org.bukkit.util.noise.OctaveGenerator> getWorldOctaves(org.bukkit.World world)
OctaveGenerator instances for the world, which are either newly created
or retrieved from the cache.world - The world to look for in the cacheOctaveGenerators created by createWorldOctaves(World, Map)public final List<org.bukkit.generator.BlockPopulator> getDefaultPopulators(org.bukkit.World world)
getDefaultPopulators in class org.bukkit.generator.ChunkGeneratorpublic boolean canSpawn(org.bukkit.World world,
int x,
int z)
canSpawn in class org.bukkit.generator.ChunkGeneratorpublic org.bukkit.Location getFixedSpawnLocation(org.bukkit.World world,
Random random)
getFixedSpawnLocation in class org.bukkit.generator.ChunkGeneratorCopyright © 2021. All rights reserved.