public class FlatChunkGenerator extends ChunkGenerator
| Modifier and Type | Field and Description |
|---|---|
static com.mojang.serialization.Codec<FlatChunkGenerator> |
field_24769 |
private FlatChunkGeneratorConfig |
generatorConfig |
biomeSource, field_24746, field_24747| Constructor and Description |
|---|
FlatChunkGenerator(FlatChunkGeneratorConfig config) |
| Modifier and Type | Method and Description |
|---|---|
void |
buildSurface(ChunkRegion region,
Chunk chunk) |
BlockView |
getColumnSample(int x,
int z) |
int |
getHeight(int x,
int z,
Heightmap.Type heightmapType) |
int |
getSpawnHeight() |
protected com.mojang.serialization.Codec<? extends ChunkGenerator> |
method_28506() |
FlatChunkGeneratorConfig |
method_28545() |
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, carve, generateFeatures, getBiomeSource, getConfig, getEntitySpawnList, getHeightInGround, getHeightOnGround, getMaxY, getSeaLevel, locateStructure, method_28507, populateBiomes, populateEntities, setStructureStartspublic static final com.mojang.serialization.Codec<FlatChunkGenerator> field_24769
private final FlatChunkGeneratorConfig generatorConfig
public FlatChunkGenerator(FlatChunkGeneratorConfig config)
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 FlatChunkGeneratorConfig method_28545()
public void buildSurface(ChunkRegion region, Chunk chunk)
buildSurface in class ChunkGeneratorpublic int getSpawnHeight()
getSpawnHeight 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 ChunkGenerator