net.minecraft.world.gen.chunk

public class FlatChunkGenerator

extends ChunkGenerator

net.minecraft.world.level.levelgen.FlatLevelSource
net.minecraft.world.level.levelgen.FlatLevelSource
net.minecraft.class_2897
net.minecraft.world.gen.chunk.FlatChunkGenerator

Field summary

Modifier and TypeField
public static final com.mojang.serialization.MapCodec<FlatChunkGenerator>
CODEC
CODEC
field_24769
CODEC
private final FlatChunkGeneratorConfig
settings
settings
field_24510
config

Constructor summary

ModifierConstructor
public (FlatChunkGeneratorConfig config)

Method summary

Modifier and TypeMethod
public StructurePlacementCalculator
createState(HolderLookup<StructureSet> structureSets, RandomState randomState, long levelSeed)
createState(HolderLookup<StructureSet> structureSets, RandomState randomState, long levelSeed)
method_46696(class_7225<class_7059> arg0, class_7138 arg1, long arg2)
createStructurePlacementCalculator(RegistryView<StructureSet> arg0, NoiseConfig arg1, long arg2)
protected com.mojang.serialization.MapCodec<? extends ChunkGenerator>
codec()
codec()
method_28506()
getCodec()
public FlatChunkGeneratorConfig
settings()
settings()
method_28545()
getConfig()
public int
getSpawnHeight(LevelHeightAccessor heightAccessor)
getSpawnHeight(LevelHeightAccessor heightAccessor)
method_12100(class_5539 arg0)
getSpawnHeight(HeightLimitView arg0)
public CompletableFuture<Chunk>
buildTerrain(ChunkAccess chunk, Blender blender, RandomState randomState, StructureManager structureManager, BiomeManager biomeManager, WorldGenRegion carverBiomeRegion, Set<Holder<Biome>> possibleBiomes)
buildTerrain(ChunkAccess chunk, Blender blender, RandomState randomState, StructureManager structureManager, BiomeManager biomeManager, WorldGenRegion carverBiomeRegion, Set<Holder<Biome>> possibleBiomes)
method_1_9949(class_2791 arg0, class_6748 arg1, class_7138 arg2, class_5138 arg3, class_4543 arg4, class_3233 arg5, Set<class_6880<class_1959>> arg6)
buildTerrain(Chunk arg0, Blender arg1, NoiseConfig arg2, StructureAccessor arg3, BiomeAccess arg4, ChunkRegion arg5, Set<RegistryEntry<Biome>> arg6)
public int
getBaseHeight(int x, int z, Heightmap$Types type, LevelHeightAccessor heightAccessor, RandomState randomState)
getBaseHeight(int x, int z, Heightmap$Types type, LevelHeightAccessor heightAccessor, RandomState randomState)
method_16397(int arg0, int arg1, class_2902$class_2903 arg2, class_5539 arg3, class_7138 arg4)
getHeight(int arg0, int arg1, Heightmap$Type arg2, HeightLimitView arg3, NoiseConfig arg4)
public VerticalBlockSample
getBaseColumn(int x, int z, LevelHeightAccessor heightAccessor, RandomState randomState)
getBaseColumn(int x, int z, LevelHeightAccessor heightAccessor, RandomState randomState)
method_26261(int arg0, int arg1, class_5539 arg2, class_7138 arg3)
getColumnSample(int arg0, int arg1, HeightLimitView arg2, NoiseConfig arg3)
public void
addDebugScreenInfo(List<String> result, RandomState randomState, BlockPos feetPos, SamplerContext samplerContext)
addDebugScreenInfo(List<String> result, RandomState randomState, BlockPos feetPos, SamplerContext samplerContext)
method_40450(List<String> arg0, class_7138 arg1, class_2338 arg2, class_1_1521 arg3)
appendDebugHudText(List<String> arg0, NoiseConfig arg1, BlockPos arg2, SamplingContext arg3)
public void
spawnOriginalMobs(WorldGenRegion worldGenRegion)
spawnOriginalMobs(WorldGenRegion worldGenRegion)
method_12107(class_3233 arg0)
populateEntities(ChunkRegion arg0)
public int
getMinY()
getMinY()
method_33730()
getMinimumY()
public int
getGenDepth()
getGenDepth()
method_12104()
getWorldHeight()
public int
getSeaLevel()
getSeaLevel()
method_16398()
getSeaLevel()