Class CarvingContext
java.lang.Object
net.minecraft.world.level.levelgen.WorldGenerationContext
net.minecraft.world.level.levelgen.carver.CarvingContext
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final NoiseChunk
private final RandomState
private final RegistryAccess
private final SurfaceRules.RuleSource
-
Constructor Summary
ConstructorsConstructorDescriptionCarvingContext
(NoiseBasedChunkGenerator generator, RegistryAccess registryAccess, LevelHeightAccessor level, NoiseChunk noiseChunk, RandomState randomState, SurfaceRules.RuleSource surfaceRule) -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.topMaterial
(Function<BlockPos, Holder<Biome>> biomeMapper, ChunkAccess access, BlockPos pos, boolean hasFluid) 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 generator, RegistryAccess registryAccess, LevelHeightAccessor level, NoiseChunk noiseChunk, RandomState randomState, SurfaceRules.RuleSource surfaceRule)
-
-
Method Details
-
topMaterial
@Deprecated public Optional<BlockState> topMaterial(Function<BlockPos, Holder<Biome>> biomeMapper, ChunkAccess access, BlockPos pos, boolean hasFluid) Deprecated. -
registryAccess
Deprecated. -
randomState
-