Class CarvingContext
java.lang.Object
net.minecraft.world.level.levelgen.WorldGenerationContext
net.minecraft.world.level.levelgen.carver.CarvingContext
-
Field Summary
Modifier and TypeFieldDescriptionprivate final NoiseBasedChunkGenerator
private final NoiseChunk
private final RegistryAccess
-
Constructor Summary
ConstructorDescriptionCarvingContext
(NoiseBasedChunkGenerator p_190642_, RegistryAccess p_190643_, LevelHeightAccessor p_190644_, NoiseChunk p_190645_) -
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
-
generator
-
registryAccess
-
noiseChunk
-
-
Constructor Details
-
CarvingContext
public CarvingContext(NoiseBasedChunkGenerator p_190642_, RegistryAccess p_190643_, LevelHeightAccessor p_190644_, NoiseChunk p_190645_)
-
-
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.
-