Class CarvingContext
java.lang.Object
net.minecraft.world.level.levelgen.WorldGenerationContext
net.minecraft.world.level.levelgen.carver.CarvingContext
-
Field Summary
Modifier and TypeFieldDescriptionprivate final NoiseChunk
private final RandomState
private final RegistryAccess
private final SurfaceRules.RuleSource
-
Constructor Summary
ConstructorDescriptionCarvingContext
(NoiseBasedChunkGenerator p_224845_, RegistryAccess p_224846_, LevelHeightAccessor p_224847_, NoiseChunk p_224848_, RandomState p_224849_, SurfaceRules.RuleSource p_224850_) -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.topMaterial
(Function<BlockPos, Holder<Biome>> p_190647_, ChunkAccess p_190648_, BlockPos p_190649_, boolean p_190650_) 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 p_224845_, RegistryAccess p_224846_, LevelHeightAccessor p_224847_, NoiseChunk p_224848_, RandomState p_224849_, SurfaceRules.RuleSource p_224850_)
-
-
Method Details
-
topMaterial
@Deprecated public Optional<BlockState> topMaterial(Function<BlockPos, Holder<Biome>> p_190647_, ChunkAccess p_190648_, BlockPos p_190649_, boolean p_190650_) Deprecated. -
registryAccess
Deprecated. -
randomState
-