public class DebugChunkGenerator extends ChunkGenerator
| Modifier and Type | Field and Description |
|---|---|
protected static BlockState |
AIR |
protected static BlockState |
BARRIER |
private static List<BlockState> |
BLOCK_STATES |
static ChunkGenerator |
generator |
private static int |
X_SIDE_LENGTH |
private static int |
Z_SIDE_LENGTH |
biomeSource| Modifier | Constructor and Description |
|---|---|
private |
DebugChunkGenerator() |
| Modifier and Type | Method and Description |
|---|---|
void |
buildSurface(ChunkRegion region,
Chunk chunk) |
void |
carve(long seed,
BiomeAccess access,
Chunk chunk,
GenerationStep.Carver carver) |
ChunkGenerator |
create(long seed) |
void |
generateFeatures(ChunkRegion region,
StructureAccessor accessor) |
static BlockState |
getBlockState(int x,
int z) |
BlockView |
getColumnSample(int x,
int z) |
int |
getHeight(int x,
int z,
Heightmap.Type heightmapType) |
void |
populateNoise(WorldAccess world,
StructureAccessor accessor,
Chunk chunk)
Generates the base shape of the chunk out of the basic block states as decided by this chunk generator's config.
|
addStructureReferences, getBiomeSource, getConfig, getDecorationBiome, getEntitySpawnList, getHeightInGround, getHeightOnGround, getMaxY, getSeaLevel, getSpawnHeight, getStructureConfig, hasStructure, hasStructure, locateStructure, populateBiomes, populateEntities, setStructureStarts, spawnEntitiespublic static final ChunkGenerator generator
private static final List<BlockState> BLOCK_STATES
private static final int X_SIDE_LENGTH
private static final int Z_SIDE_LENGTH
protected static final BlockState AIR
protected static final BlockState BARRIER
@Environment(value=CLIENT) public ChunkGenerator create(long seed)
create in class ChunkGeneratorpublic void buildSurface(ChunkRegion region, Chunk chunk)
buildSurface in class ChunkGeneratorpublic void carve(long seed,
BiomeAccess access,
Chunk chunk,
GenerationStep.Carver carver)
carve in class ChunkGeneratorpublic void generateFeatures(ChunkRegion region, StructureAccessor accessor)
generateFeatures in class ChunkGeneratorpublic void populateNoise(WorldAccess world, StructureAccessor accessor, Chunk chunk)
populateNoise in class ChunkGeneratorpublic int getHeight(int x,
int z,
Heightmap.Type heightmapType)
getHeight in class ChunkGeneratorpublic BlockView getColumnSample(int x, int z)
getColumnSample in class ChunkGeneratorpublic static BlockState getBlockState(int x, int z)