Package net.minecraft.world.gen
Class FlatChunkGenerator
java.lang.Object
net.minecraft.world.gen.ChunkGenerator
net.minecraft.world.gen.FlatChunkGenerator
-
Field Summary
Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<FlatChunkGenerator>
private final FlatGenerationSettings
Fields inherited from class net.minecraft.world.gen.ChunkGenerator
biomeSource, runtimeBiomeSource
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
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_) 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
settings()
withSeed
(long p_230349_1_) Methods inherited from class net.minecraft.world.gen.ChunkGenerator
applyBiomeDecoration, applyCarvers, createBiomes, createReferences, createStructures, findNearestMapFeature, getBiomeSource, getFirstFreeHeight, getFirstOccupiedHeight, getGenDepth, getMobsAt, getSeaLevel, getSettings, hasStronghold, spawnOriginalMobs
-
Field Details
-
CODEC
-
settings
-
-
Constructor Details
-
FlatChunkGenerator
-
-
Method Details
-
codec
- Specified by:
codec
in classChunkGenerator
-
withSeed
- Specified by:
withSeed
in classChunkGenerator
-
settings
-
buildSurfaceAndBedrock
- Specified by:
buildSurfaceAndBedrock
in classChunkGenerator
-
getSpawnHeight
public int getSpawnHeight()- Overrides:
getSpawnHeight
in classChunkGenerator
-
fillFromNoise
- Specified by:
fillFromNoise
in classChunkGenerator
-
getBaseHeight
- Specified by:
getBaseHeight
in classChunkGenerator
-
getBaseColumn
- Specified by:
getBaseColumn
in classChunkGenerator
-