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(RegistryWrapper<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 void
buildSurface(WorldGenRegion level, StructureManager structureManager, RandomState randomState, ChunkAccess protoChunk)
buildSurface(WorldGenRegion level, StructureManager structureManager, RandomState randomState, ChunkAccess protoChunk)
method_12110(class_3233 arg0, class_5138 arg1, class_7138 arg2, class_2791 arg3)
buildSurface(ChunkRegion arg0, StructureAccessor arg1, NoiseConfig arg2, Chunk arg3)
public int
getSpawnHeight(LevelHeightAccessor heightAccessor)
getSpawnHeight(LevelHeightAccessor heightAccessor)
method_12100(class_5539 arg0)
getSpawnHeight(HeightLimitView arg0)
public CompletableFuture<Chunk>
fillFromNoise(Blender blender, RandomState randomState, StructureManager structureManager, ChunkAccess centerChunk)
fillFromNoise(Blender blender, RandomState randomState, StructureManager structureManager, ChunkAccess centerChunk)
method_12088(class_6748 arg0, class_7138 arg1, class_5138 arg2, class_2791 arg3)
populateNoise(Blender arg0, NoiseConfig arg1, StructureAccessor arg2, Chunk arg3)
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)
addDebugScreenInfo(List<String> result, RandomState randomState, BlockPos feetPos)
method_40450(List<String> arg0, class_7138 arg1, class_2338 arg2)
appendDebugHudText(List<String> arg0, NoiseConfig arg1, BlockPos arg2)
public void
applyCarvers(WorldGenRegion region, long seed, RandomState randomState, BiomeManager biomeManager, StructureManager structureManager, ChunkAccess chunk)
applyCarvers(WorldGenRegion region, long seed, RandomState randomState, BiomeManager biomeManager, StructureManager structureManager, ChunkAccess chunk)
method_12108(class_3233 arg0, long arg1, class_7138 arg2, class_4543 arg3, class_5138 arg4, class_2791 arg5)
carve(ChunkRegion arg0, long arg1, NoiseConfig arg2, BiomeAccess arg3, StructureAccessor arg4, Chunk arg5)
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()