public class FlatChunkGenerator extends ChunkGenerator
Modifier and Type | Field and Description |
---|---|
static com.mojang.serialization.Codec<FlatChunkGenerator> |
CODEC |
private FlatGenerationSettings |
settings |
biomeSource, runtimeBiomeSource
Constructor and Description |
---|
FlatChunkGenerator(FlatGenerationSettings p_i231902_1_) |
Modifier and Type | Method and Description |
---|---|
void |
buildSurfaceAndBedrock(WorldGenRegion p_225551_1_,
IChunk p_225551_2_) |
protected com.mojang.serialization.Codec<? extends ChunkGenerator> |
codec() |
void |
fillFromNoise(IWorld p_230352_1_,
StructureManager p_230352_2_,
IChunk p_230352_3_) |
IBlockReader |
getBaseColumn(int p_230348_1_,
int p_230348_2_) |
int |
getBaseHeight(int p_222529_1_,
int p_222529_2_,
Heightmap.Type p_222529_3_) |
int |
getSpawnHeight() |
FlatGenerationSettings |
settings() |
ChunkGenerator |
withSeed(long p_230349_1_) |
applyBiomeDecoration, applyCarvers, createBiomes, createReferences, createStructures, findNearestMapFeature, getBiomeSource, getFirstFreeHeight, getFirstOccupiedHeight, getGenDepth, getMobsAt, getSeaLevel, getSettings, hasStronghold, spawnOriginalMobs
public static final com.mojang.serialization.Codec<FlatChunkGenerator> CODEC
private final FlatGenerationSettings settings
public FlatChunkGenerator(FlatGenerationSettings p_i231902_1_)
protected com.mojang.serialization.Codec<? extends ChunkGenerator> codec()
codec
in class ChunkGenerator
public ChunkGenerator withSeed(long p_230349_1_)
withSeed
in class ChunkGenerator
public FlatGenerationSettings settings()
public void buildSurfaceAndBedrock(WorldGenRegion p_225551_1_, IChunk p_225551_2_)
buildSurfaceAndBedrock
in class ChunkGenerator
public int getSpawnHeight()
getSpawnHeight
in class ChunkGenerator
public void fillFromNoise(IWorld p_230352_1_, StructureManager p_230352_2_, IChunk p_230352_3_)
fillFromNoise
in class ChunkGenerator
public int getBaseHeight(int p_222529_1_, int p_222529_2_, Heightmap.Type p_222529_3_)
getBaseHeight
in class ChunkGenerator
public IBlockReader getBaseColumn(int p_230348_1_, int p_230348_2_)
getBaseColumn
in class ChunkGenerator