类 CarvingContext
java.lang.Object
net.minecraft.world.level.levelgen.WorldGenerationContext
net.minecraft.world.level.levelgen.carver.CarvingContext
-
字段概要
字段修饰符和类型字段说明private final NoiseChunk
private final RandomState
private final RegistryAccess
private final SurfaceRules.RuleSource
-
构造器概要
构造器构造器说明CarvingContext
(NoiseBasedChunkGenerator pGenerator, RegistryAccess pRegistryAccess, LevelHeightAccessor pLevel, NoiseChunk pNoiseChunk, RandomState pRandomState, SurfaceRules.RuleSource pSurfaceRule) -
方法概要
修饰符和类型方法说明已过时。topMaterial
(Function<BlockPos, Holder<Biome>> pBiomeMapper, ChunkAccess pAccess, BlockPos pPos, boolean pHasFluid) 已过时。从类继承的方法 net.minecraft.world.level.levelgen.WorldGenerationContext
getGenDepth, getMinGenY
-
字段详细资料
-
registryAccess
-
noiseChunk
-
randomState
-
surfaceRule
-
-
构造器详细资料
-
CarvingContext
public CarvingContext(NoiseBasedChunkGenerator pGenerator, RegistryAccess pRegistryAccess, LevelHeightAccessor pLevel, NoiseChunk pNoiseChunk, RandomState pRandomState, SurfaceRules.RuleSource pSurfaceRule)
-
-
方法详细资料
-
topMaterial
@Deprecated public Optional<BlockState> topMaterial(Function<BlockPos, Holder<Biome>> pBiomeMapper, ChunkAccess pAccess, BlockPos pPos, boolean pHasFluid) 已过时。 -
registryAccess
已过时。 -
randomState
-