Class CarvingContext
java.lang.Object
net.minecraft.world.level.levelgen.WorldGenerationContext
net.minecraft.world.level.levelgen.carver.CarvingContext
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final NoiseChunkprivate final RandomStateprivate final RegistryAccessprivate final SurfaceRules.RuleSource -
Constructor Summary
ConstructorsConstructorDescriptionCarvingContext(NoiseBasedChunkGenerator pGenerator, RegistryAccess pRegistryAccess, LevelHeightAccessor pLevel, NoiseChunk pNoiseChunk, RandomState pRandomState, SurfaceRules.RuleSource pSurfaceRule) -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.topMaterial(Function<BlockPos, Holder<Biome>> pBiomeMapper, ChunkAccess pAccess, BlockPos pPos, boolean pHasFluid) Deprecated.Methods inherited from class net.minecraft.world.level.levelgen.WorldGenerationContext
getGenDepth, getMinGenY
-
Field Details
-
registryAccess
-
noiseChunk
-
randomState
-
surfaceRule
-
-
Constructor Details
-
CarvingContext
public CarvingContext(NoiseBasedChunkGenerator pGenerator, RegistryAccess pRegistryAccess, LevelHeightAccessor pLevel, NoiseChunk pNoiseChunk, RandomState pRandomState, SurfaceRules.RuleSource pSurfaceRule)
-
-
Method Details
-
topMaterial
@Deprecated public Optional<BlockState> topMaterial(Function<BlockPos, Holder<Biome>> pBiomeMapper, ChunkAccess pAccess, BlockPos pPos, boolean pHasFluid) Deprecated. -
registryAccess
Deprecated. -
randomState
-