net.minecraft.world.gen.chunk

public final class NoiseChunkGenerator

extends ChunkGenerator

net.minecraft.world.level.levelgen.NoiseBasedChunkGenerator
net.minecraft.world.level.levelgen.NoiseBasedChunkGenerator
net.minecraft.class_3754
net.minecraft.world.gen.chunk.NoiseChunkGenerator

Field summary

Modifier and TypeField
public static final com.mojang.serialization.MapCodec<NoiseChunkGenerator>
CODEC
CODEC
field_24773
CODEC
private static final BlockState
AIR
AIR
field_16648
AIR
private final RegistryEntry<ChunkGeneratorSettings>
settings
settings
field_24774
settings
private final Supplier<AquiferSampler$FluidLevelSampler>
globalFluidPicker
globalFluidPicker
field_34591
fluidLevelSampler

Constructor summary

ModifierConstructor
public (BiomeSource biomeSource, RegistryEntry<ChunkGeneratorSettings> settings)

Method summary

Modifier and TypeMethod
private static AquiferSampler$FluidLevelSampler
createFluidPicker(NoiseGeneratorSettings settings)
createFluidPicker(NoiseGeneratorSettings settings)
method_45510(class_5284 arg0)
createFluidLevelSampler(ChunkGeneratorSettings settings)
public CompletableFuture<Chunk>
createBiomes(RandomState randomState, Blender blender, StructureManager structureManager, ChunkAccess protoChunk)
createBiomes(RandomState randomState, Blender blender, StructureManager structureManager, ChunkAccess protoChunk)
method_38275(class_7138 arg0, class_6748 arg1, class_5138 arg2, class_2791 arg3)
populateBiomes(NoiseConfig arg0, Blender arg1, StructureAccessor arg2, Chunk arg3)
private void
doCreateBiomes(Blender blender, RandomState randomState, StructureManager structureManager, ChunkAccess protoChunk)
doCreateBiomes(Blender blender, RandomState randomState, StructureManager structureManager, ChunkAccess protoChunk)
method_38327(class_6748 arg0, class_7138 arg1, class_5138 arg2, class_2791 arg3)
populateBiomes(Blender blender, NoiseConfig noiseConfig, StructureAccessor structureAccessor, Chunk chunk)
private ChunkNoiseSampler
createNoiseChunk(ChunkAccess chunk, StructureManager structureManager, Blender blender, RandomState randomState)
createNoiseChunk(ChunkAccess chunk, StructureManager structureManager, Blender blender, RandomState randomState)
method_41537(class_2791 arg0, class_5138 arg1, class_6748 arg2, class_7138 arg3)
createChunkNoiseSampler(Chunk chunk, StructureAccessor world, Blender blender, NoiseConfig noiseConfig)
protected com.mojang.serialization.MapCodec<? extends ChunkGenerator>
codec()
codec()
method_28506()
getCodec()
public RegistryEntry<ChunkGeneratorSettings>
generatorSettings()
generatorSettings()
method_41541()
getSettings()
public boolean
stable(ResourceKey<NoiseGeneratorSettings> expectedPreset)
stable(ResourceKey<NoiseGeneratorSettings> expectedPreset)
method_28548(class_5321<class_5284> arg0)
matchesSettings(RegistryKey<ChunkGeneratorSettings> settings)
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 double
getInterpolatedNoiseValue(RandomState randomState, DensityFunction$FunctionContext context)
getInterpolatedNoiseValue(RandomState randomState, DensityFunction$FunctionContext context)
method_1_3060(class_7138 arg0, class_6910$class_6912 arg1)
sampleDensity(NoiseConfig noiseConfig, DensityFunction$NoisePos noisePos)
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)
private OptionalInt
iterateNoiseColumn(LevelHeightAccessor heightAccessor, RandomState randomState, int blockX, int blockZ, org.apache.commons.lang3.mutable.MutableObject<NoiseColumn> columnReference, Predicate<BlockState> tester)
iterateNoiseColumn(LevelHeightAccessor heightAccessor, RandomState randomState, int blockX, int blockZ, org.apache.commons.lang3.mutable.MutableObject<NoiseColumn> columnReference, Predicate<BlockState> tester)
method_26263(class_5539 arg0, class_7138 arg1, int arg2, int arg3, org.apache.commons.lang3.mutable.MutableObject<class_4966> arg4, Predicate<class_2680> arg5)
sampleHeightmap(HeightLimitView world, NoiseConfig noiseConfig, int x, int z, org.apache.commons.lang3.mutable.MutableObject<VerticalBlockSample> columnSample, Predicate<BlockState> stopPredicate)
public void
buildSurface(WorldGenRegion region, StructureManager structureManager, RandomState randomState, ChunkAccess protoChunk)
buildSurface(WorldGenRegion region, 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 void
buildSurface(ChunkAccess protoChunk, WorldGenerationContext context, RandomState randomState, StructureManager structureManager, BiomeManager biomeManager, Registry<Biome> biomeRegistry, Blender blender)
buildSurface(ChunkAccess protoChunk, WorldGenerationContext context, RandomState randomState, StructureManager structureManager, BiomeManager biomeManager, Registry<Biome> biomeRegistry, Blender blender)
method_41538(class_2791 arg0, class_5868 arg1, class_7138 arg2, class_5138 arg3, class_4543 arg4, class_2378<class_1959> arg5, class_6748 arg6)
buildSurface(Chunk chunk, HeightContext heightContext, NoiseConfig noiseConfig, StructureAccessor structureAccessor, BiomeAccess biomeAccess, Registry<Biome> biomeRegistry, Blender blender)
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 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)
private Chunk
doFill(Blender blender, StructureManager structureManager, RandomState randomState, ChunkAccess centerChunk, int cellMinY, int cellCountY)
doFill(Blender blender, StructureManager structureManager, RandomState randomState, ChunkAccess centerChunk, int cellMinY, int cellCountY)
method_33754(class_6748 arg0, class_5138 arg1, class_7138 arg2, class_2791 arg3, int arg4, int arg5)
populateNoise(Blender blender, StructureAccessor structureAccessor, NoiseConfig noiseConfig, Chunk chunk, int minimumCellY, int cellHeight)
private BlockState
debugPreliminarySurfaceLevel(NoiseChunk noiseChunk, int posX, int posY, int posZ, BlockState state)
debugPreliminarySurfaceLevel(NoiseChunk noiseChunk, int posX, int posY, int posZ, BlockState state)
method_38323(class_6568 arg0, int arg1, int arg2, int arg3, class_2680 arg4)
getBlockState(ChunkNoiseSampler chunkNoiseSampler, int x, int y, int z, BlockState state)
public int
getGenDepth()
getGenDepth()
method_12104()
getWorldHeight()
public int
getSeaLevel()
getSeaLevel()
method_16398()
getSeaLevel()
public int
getMinY()
getMinY()
method_33730()
getMinimumY()
public void
spawnOriginalMobs(WorldGenRegion worldGenRegion)
spawnOriginalMobs(WorldGenRegion worldGenRegion)
method_12107(class_3233 arg0)
populateEntities(ChunkRegion arg0)