Class FlatLevelSource
java.lang.Object
net.minecraft.world.level.chunk.ChunkGenerator
net.minecraft.world.level.levelgen.FlatLevelSource
-
Field Summary
Modifier and TypeFieldDescriptionstatic com.mojang.serialization.Codec<FlatLevelSource>
private FlatLevelGeneratorSettings
Fields inherited from class net.minecraft.world.level.chunk.ChunkGenerator
biomeSource, runtimeBiomeSource
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
buildSurfaceAndBedrock(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_)
int
getBaseHeight(int p_158274_, int p_158275_, Heightmap.Types p_158276_, LevelHeightAccessor p_158277_)
int
getSpawnHeight(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:
codec
in classChunkGenerator
-
withSeed
- Specified by:
withSeed
in classChunkGenerator
-
settings
-
buildSurfaceAndBedrock
- Specified by:
buildSurfaceAndBedrock
in classChunkGenerator
-
getSpawnHeight
- Overrides:
getSpawnHeight
in classChunkGenerator
-
fillFromNoise
public CompletableFuture<ChunkAccess> fillFromNoise(Executor p_158281_, StructureFeatureManager p_158282_, ChunkAccess p_158283_)- Specified by:
fillFromNoise
in classChunkGenerator
-
getBaseHeight
public int getBaseHeight(int p_158274_, int p_158275_, Heightmap.Types p_158276_, LevelHeightAccessor p_158277_)- Specified by:
getBaseHeight
in classChunkGenerator
-
getBaseColumn
- Specified by:
getBaseColumn
in classChunkGenerator
-