Package net.minecraft.world.gen
Class FlatChunkGenerator
java.lang.Object
net.minecraft.world.gen.ChunkGenerator
net.minecraft.world.gen.FlatChunkGenerator
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<FlatChunkGenerator>private final FlatGenerationSettingsFields inherited from class net.minecraft.world.gen.ChunkGenerator
biomeSource, runtimeBiomeSource -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidbuildSurfaceAndBedrock(WorldGenRegion p_225551_1_, IChunk p_225551_2_) protected com.mojang.serialization.Codec<? extends ChunkGenerator>codec()voidfillFromNoise(IWorld p_230352_1_, StructureManager p_230352_2_, IChunk p_230352_3_) getBaseColumn(int p_230348_1_, int p_230348_2_) intgetBaseHeight(int p_222529_1_, int p_222529_2_, Heightmap.Type p_222529_3_) intsettings()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:
codecin classChunkGenerator
-
withSeed
- Specified by:
withSeedin classChunkGenerator
-
settings
-
buildSurfaceAndBedrock
- Specified by:
buildSurfaceAndBedrockin classChunkGenerator
-
getSpawnHeight
public int getSpawnHeight()- Overrides:
getSpawnHeightin classChunkGenerator
-
fillFromNoise
- Specified by:
fillFromNoisein classChunkGenerator
-
getBaseHeight
- Specified by:
getBaseHeightin classChunkGenerator
-
getBaseColumn
- Specified by:
getBaseColumnin classChunkGenerator
-