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 com.mojang.serialization.Codec<DebugChunkGenerator> |
field_24768 |
static DebugChunkGenerator |
INSTANCE |
private static int |
X_SIDE_LENGTH |
private static int |
Z_SIDE_LENGTH |
biomeSource, field_24746, field_24747| 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) |
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) |
protected com.mojang.serialization.Codec<? extends ChunkGenerator> |
method_28506() |
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.
|
ChunkGenerator |
withSeed(long seed) |
addStructureReferences, getBiomeSource, getConfig, getEntitySpawnList, getHeightInGround, getHeightOnGround, getMaxY, getSeaLevel, getSpawnHeight, locateStructure, method_28507, populateBiomes, populateEntities, setStructureStartspublic static final DebugChunkGenerator INSTANCE
public static final com.mojang.serialization.Codec<DebugChunkGenerator> field_24768
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
protected com.mojang.serialization.Codec<? extends ChunkGenerator> method_28506()
method_28506 in class ChunkGenerator@Environment(value=CLIENT) public ChunkGenerator withSeed(long seed)
withSeed 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)