net.minecraft.world.gen.carver

public class CarverContext

extends HeightContext

net.minecraft.world.level.levelgen.carver.CarvingContext
net.minecraft.class_5873
net.minecraft.world.gen.carver.CarverContext

Field summary

Modifier and TypeField
private final DynamicRegistryManager
registryAccess
field_35299
registryManager
private final ChunkNoiseSampler
noiseChunk
field_35703
chunkNoiseSampler
private final NoiseConfig
randomState
field_37706
noiseConfig
private final MaterialRules$MaterialRule
surfaceRule
field_37707
materialRule

Constructor summary

ModifierConstructor
public (NoiseChunkGenerator noiseChunkGenerator, DynamicRegistryManager registryManager, HeightLimitView heightLimitView, ChunkNoiseSampler chunkNoiseSampler, NoiseConfig noiseConfig, MaterialRules$MaterialRule materialRule)

Method summary

Modifier and TypeMethod
public Optional<BlockState>
topMaterial(Function<BlockPos, Holder<Biome>> biomeGetter, ChunkAccess chunk, BlockPos pos, boolean underFluid)
method_39114(Function<class_2338, class_6880<class_1959>> arg0, class_2791 arg1, class_2338 arg2, boolean arg3)
applyMaterialRule(Function<BlockPos, RegistryEntry<Biome>> posToBiome, Chunk chunk, BlockPos pos, boolean hasFluid)
public DynamicRegistryManager
registryAccess()
method_39115()
getRegistryManager()
public NoiseConfig
randomState()
method_41570()
getNoiseConfig()