Class FlatLevelSource
java.lang.Object
net.minecraft.world.level.chunk.ChunkGenerator
net.minecraft.world.level.levelgen.FlatLevelSource
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic com.mojang.serialization.Codec<FlatLevelSource>private FlatLevelGeneratorSettingsFields inherited from class net.minecraft.world.level.chunk.ChunkGenerator
biomeSource, runtimeBiomeSource -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidbuildSurfaceAndBedrock(WorldGenRegion p_64182_, ChunkAccess p_64183_)protected com.mojang.serialization.Codec<? extends ChunkGenerator>codec()fillFromNoise(Executor p_158281_, StructureFeatureManager p_158282_, ChunkAccess p_158283_)getBaseColumn(int p_158270_, int p_158271_, LevelHeightAccessor p_158272_)intgetBaseHeight(int p_158274_, int p_158275_, Heightmap.Types p_158276_, LevelHeightAccessor p_158277_)intgetSpawnHeight(LevelHeightAccessor p_158279_)settings()withSeed(long p_64180_)Methods inherited from class net.minecraft.world.level.chunk.ChunkGenerator
applyBiomeDecoration, applyCarvers, createAquifer, createBiomes, createReferences, createStructures, findNearestMapFeature, getBaseStoneSource, getBiomeSource, getFirstFreeHeight, getFirstOccupiedHeight, getGenDepth, getMinY, getMobsAt, getSeaLevel, getSettings, hasStronghold, spawnOriginalMobs
-
Field Details
-
CODEC
-
settings
-
-
Constructor Details
-
FlatLevelSource
-
-
Method Details
-
codec
- Specified by:
codecin classChunkGenerator
-
withSeed
- Specified by:
withSeedin classChunkGenerator
-
settings
-
buildSurfaceAndBedrock
- Specified by:
buildSurfaceAndBedrockin classChunkGenerator
-
getSpawnHeight
- Overrides:
getSpawnHeightin classChunkGenerator
-
fillFromNoise
public CompletableFuture<ChunkAccess> fillFromNoise(Executor p_158281_, StructureFeatureManager p_158282_, ChunkAccess p_158283_)- Specified by:
fillFromNoisein classChunkGenerator
-
getBaseHeight
public int getBaseHeight(int p_158274_, int p_158275_, Heightmap.Types p_158276_, LevelHeightAccessor p_158277_)- Specified by:
getBaseHeightin classChunkGenerator
-
getBaseColumn
- Specified by:
getBaseColumnin classChunkGenerator
-