public class DebugChunkGenerator extends ChunkGenerator<DebugChunkGeneratorConfig>
| Modifier and Type | Field and Description |
|---|---|
protected static BlockState |
AIR |
protected static BlockState |
BARRIER |
private static List<BlockState> |
BLOCK_STATES |
private static int |
X_SIDE_LENGTH |
private static int |
Z_SIDE_LENGTH |
biomeSource, config, seed, world| Constructor and Description |
|---|
DebugChunkGenerator(IWorld world,
BiomeSource biomeSource,
DebugChunkGeneratorConfig config) |
| Modifier and Type | Method and Description |
|---|---|
void |
buildSurface(ChunkRegion region,
Chunk chunk) |
void |
carve(BiomeAccess biomeAccess,
Chunk chunk,
GenerationStep.Carver carver) |
void |
generateFeatures(ChunkRegion chunkRegion,
StructureAccessor structureAccessor) |
static BlockState |
getBlockState(int x,
int z) |
BlockView |
getColumnSample(int x,
int z) |
int |
getHeight(int x,
int z,
Heightmap.Type heightmapType) |
int |
getSpawnHeight() |
void |
populateNoise(IWorld world,
StructureAccessor structureAccessor,
Chunk chunk) |
addStructureReferences, getBiomeSource, getConfig, getDecorationBiome, getEntitySpawnList, getHeightInGround, getHeightOnGround, getMaxY, getSeaLevel, getSeed, getStructureConfig, hasStructure, locateStructure, method_27192, populateBiomes, populateEntities, setStructureStarts, spawnEntitiesprivate 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
public DebugChunkGenerator(IWorld world, BiomeSource biomeSource, DebugChunkGeneratorConfig config)
public void buildSurface(ChunkRegion region, Chunk chunk)
buildSurface in class ChunkGenerator<DebugChunkGeneratorConfig>public void carve(BiomeAccess biomeAccess, Chunk chunk, GenerationStep.Carver carver)
carve in class ChunkGenerator<DebugChunkGeneratorConfig>public int getSpawnHeight()
getSpawnHeight in class ChunkGenerator<DebugChunkGeneratorConfig>public void generateFeatures(ChunkRegion chunkRegion, StructureAccessor structureAccessor)
generateFeatures in class ChunkGenerator<DebugChunkGeneratorConfig>public void populateNoise(IWorld world, StructureAccessor structureAccessor, Chunk chunk)
populateNoise in class ChunkGenerator<DebugChunkGeneratorConfig>public int getHeight(int x,
int z,
Heightmap.Type heightmapType)
getHeight in class ChunkGenerator<DebugChunkGeneratorConfig>public BlockView getColumnSample(int x, int z)
getColumnSample in class ChunkGenerator<DebugChunkGeneratorConfig>public static BlockState getBlockState(int x, int z)