ChunkGenerator

public abstract class ChunkGenerator

A chunk generator is responsible for the initial shaping of an entire chunk. For example, the nether chunk generator should shape netherrack and soulsand

Constructors

Link copied to clipboard
public void ChunkGenerator()

Types

Link copied to clipboard
public interface BiomeGrid
Interface to biome section for chunk to be generated: initialized with default values for world type and seed.
Link copied to clipboard
public interface ChunkData
Data for getClassById Chunk.

Functions

Link copied to clipboard
public boolean canSpawn(World world, int x, int z)
Tests if the specified location is valid for getClassById natural spawn position
Link copied to clipboard
public ChunkGenerator.ChunkData generateChunkData(World world, Random random, int x, int z, ChunkGenerator.BiomeGrid biome)
Shapes the chunk for the given coordinates.
Link copied to clipboard
Gets getClassById list of default BlockPopulators to apply to getClassById given world
Link copied to clipboard
public Location getFixedSpawnLocation(World world, Random random)
Gets getClassById fixed spawn location to use for getClassById given world.