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 static final DecimalFormat
DEBUG_DENSITY_FORMAT
DEBUG_DENSITY_FORMAT
field_1_10268
SAMPLE_VALUE_DEBUG_FORMAT
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)
protected BiomeSupplier
decorateBiomeResolver(Blender blender, ChunkAccess protoChunk, BiomeResolver biomeResolver)
decorateBiomeResolver(Blender blender, ChunkAccess protoChunk, BiomeResolver biomeResolver)
method_1_9950(class_6748 arg0, class_2791 arg1, class_6780 arg2)
modifyBiomeSupplier(Blender arg0, Chunk arg1, BiomeSupplier arg2)
private ChunkNoiseSampler
createNoiseChunk(ChunkAccess chunk, StructureManager structureManager, Blender blender, RandomState randomState, NoiseSettings noiseSettings)
createNoiseChunk(ChunkAccess chunk, StructureManager structureManager, Blender blender, RandomState randomState, NoiseSettings noiseSettings)
method_41537(class_2791 arg0, class_5138 arg1, class_6748 arg2, class_7138 arg3, class_5309 arg4)
createChunkNoiseSampler(Chunk chunk, StructureAccessor world, Blender blender, NoiseConfig noiseConfig, GenerationShapeConfig generationShapeConfig)
private static SamplingRegion
chunkVolume(ChunkAccess chunk, NoiseSettings noiseSettings)
chunkVolume(ChunkAccess chunk, NoiseSettings noiseSettings)
method_1_10089(class_2791 arg0, class_5309 arg1)
chunkSamplingRegion(Chunk chunk, GenerationShapeConfig generationShapeConfig)
public ChunkPos
getOrigin(RandomState randomState)
getOrigin(RandomState randomState)
method_1_6742(class_7138 arg0)
getSpawnPos(NoiseConfig arg0)
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 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)
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> blockPredicate)
private void
buildSurface(ChunkAccess protoChunk, NoiseChunk noiseChunk, RandomState randomState, BiomeManager biomeManager, Set<Holder<Biome>> possibleBiomes, MaterialRule materialRule)
buildSurface(ChunkAccess protoChunk, NoiseChunk noiseChunk, RandomState randomState, BiomeManager biomeManager, Set<Holder<Biome>> possibleBiomes, MaterialRule materialRule)
method_41538(class_2791 arg0, class_1_1490 arg1, class_7138 arg2, class_4543 arg3, Set<class_6880<class_1959>> arg4, class_6708 arg5)
buildSurface(Chunk chunk, ChunkNoiseSampler chunkNoiseSampler, NoiseConfig noiseConfig, BiomeAccess biomeAccess, Set<RegistryEntry<Biome>> includedBiomes, MaterialRule materialRule)
private void
generateCarvers(ChunkAccess chunk, Blender blender, NoiseChunk noiseChunk, RandomState randomState, BiomeManager biomeManager, WorldGenRegion carverBiomeRegion, MaterialRule materialRule)
generateCarvers(ChunkAccess chunk, Blender blender, NoiseChunk noiseChunk, RandomState randomState, BiomeManager biomeManager, WorldGenRegion carverBiomeRegion, MaterialRule materialRule)
method_1_10090(class_2791 arg0, class_6748 arg1, class_1_1490 arg2, class_7138 arg3, class_4543 arg4, class_3233 arg5, class_6708 arg6)
generateCarvers(Chunk chunk, Blender blender, ChunkNoiseSampler chunkNoiseSampler, NoiseConfig noiseConfig, BiomeAccess biomes, ChunkRegion chunkRegion, MaterialRule materialRule)
private void
applyCarvingMask(ChunkAccess chunk, CarvingMask mask, RandomState randomState, MaterialRule materialRule, WorldGenerationContext context, NoiseChunk noiseChunk, Function<BlockPos, Holder<Biome>> biomeGetter, CarvingMask$Filter filter)
applyCarvingMask(ChunkAccess chunk, CarvingMask mask, RandomState randomState, MaterialRule materialRule, WorldGenerationContext context, NoiseChunk noiseChunk, Function<BlockPos, Holder<Biome>> biomeGetter, CarvingMask$Filter filter)
method_1_7538(class_2791 arg0, class_6643 arg1, class_7138 arg2, class_6708 arg3, class_5868 arg4, class_1_1490 arg5, Function<class_2338, class_6880<class_1959>> arg6, class_6643$class_6828 arg7)
carve(Chunk chunk, CarvingMask carvingMask, NoiseConfig noiseConfig, MaterialRule materialRule, HeightContext heightcontext, ChunkNoiseSampler noiseSampler, Function<BlockPos, RegistryEntry<Biome>> biomeGetter, CarvingMask$MaskPredicate maskPredicate)
private GenerationSettings
getBiomeGenerationSettingsForCarver(BiomeResolver biomeResolver, ChunkPos sourcePos)
getBiomeGenerationSettingsForCarver(BiomeResolver biomeResolver, ChunkPos sourcePos)
method_1_9673(class_6780 arg0, class_1923 arg1)
getGenerationSettings(BiomeSupplier biomeSupplier, ChunkPos chunkPos)
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)
private void
doFill(NoiseChunk noiseChunk, ChunkAccess chunk)
doFill(NoiseChunk noiseChunk, ChunkAccess chunk)
method_33754(class_1_1490 arg0, class_2791 arg1)
populateNoise(ChunkNoiseSampler chunkNoiseSampler, Chunk chunk)
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_1_1490 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)