Uses of Class
net.minecraft.world.gen.carver.CarverContext
-
Uses of CarverContext in net.minecraft.world.gen.carver
Modifier and TypeMethodDescriptionabstract boolean
Carver.carve
(CarverContext context, C config, Chunk chunk, Function<BlockPos, RegistryEntry<Biome>> posToBiome, Random random, AquiferSampler aquiferSampler, ChunkPos pos, CarvingMask mask) boolean
CaveCarver.carve
(CarverContext carverContext, CaveCarverConfig caveCarverConfig, Chunk chunk, Function<BlockPos, RegistryEntry<Biome>> function, Random random, AquiferSampler aquiferSampler, ChunkPos chunkPos, CarvingMask carvingMask) boolean
ConfiguredCarver.carve
(CarverContext context, Chunk chunk, Function<BlockPos, RegistryEntry<Biome>> posToBiome, Random random, AquiferSampler aquiferSampler, ChunkPos pos, CarvingMask mask) boolean
RavineCarver.carve
(CarverContext carverContext, RavineCarverConfig ravineCarverConfig, Chunk chunk, Function<BlockPos, RegistryEntry<Biome>> function, Random random, AquiferSampler aquiferSampler, ChunkPos chunkPos, CarvingMask carvingMask) protected boolean
Carver.carveAtPoint
(CarverContext context, C config, Chunk chunk, Function<BlockPos, RegistryEntry<Biome>> posToBiome, CarvingMask mask, BlockPos.Mutable mutable, BlockPos.Mutable mutable2, AquiferSampler aquiferSampler, MutableBoolean mutableBoolean) protected boolean
NetherCaveCarver.carveAtPoint
(CarverContext carverContext, CaveCarverConfig caveCarverConfig, Chunk chunk, Function<BlockPos, RegistryEntry<Biome>> function, CarvingMask carvingMask, BlockPos.Mutable mutable, BlockPos.Mutable mutable2, AquiferSampler aquiferSampler, MutableBoolean mutableBoolean) protected void
CaveCarver.carveCave
(CarverContext context, CaveCarverConfig config, Chunk chunk, Function<BlockPos, RegistryEntry<Biome>> posToBiome, AquiferSampler aquiferSampler, double double2, double double3, double double4, float float2, double double5, CarvingMask mask, Carver.SkipPredicate skipPredicate) private void
RavineCarver.carveRavine
(CarverContext context, RavineCarverConfig config, Chunk chunk, Function<BlockPos, RegistryEntry<Biome>> posToBiome, long seed, AquiferSampler aquiferSampler, double x, double y, double z, float width, float yaw, float pitch, int branchStartIndex, int branchCount, double yawPitchRatio, CarvingMask mask) protected boolean
Carver.carveRegion
(CarverContext context, C config, Chunk chunk, Function<BlockPos, RegistryEntry<Biome>> posToBiome, AquiferSampler aquiferSampler, double double2, double double3, double double4, double double5, double double6, CarvingMask mask, Carver.SkipPredicate skipPredicate) protected void
CaveCarver.carveTunnels
(CarverContext context, CaveCarverConfig config, Chunk chunk, Function<BlockPos, RegistryEntry<Biome>> posToBiome, long seed, AquiferSampler aquiferSampler, double x, double y, double z, double horizontalScale, double verticalScale, float width, float yaw, float pitch, int branchStartIndex, int branchCount, double yawPitchRatio, CarvingMask mask, Carver.SkipPredicate skipPredicate) private float[]
RavineCarver.createHorizontalStretchFactors
(CarverContext context, RavineCarverConfig config, Random random) private @Nullable BlockState
Carver.getState
(CarverContext context, C config, BlockPos pos, AquiferSampler sampler) private boolean
RavineCarver.isPositionExcluded
(CarverContext context, float[] horizontalStretchFactors, double scaledRelativeX, double scaledRelativeY, double scaledRelativeZ, int y) boolean
Carver.SkipPredicate.shouldSkip
(CarverContext context, double scaledRelativeX, double scaledRelativeY, double scaledRelativeZ, int y) -
Uses of CarverContext in net.minecraft.world.gen.surfacebuilder
Modifier and TypeMethodDescriptionSurfaceBuilder.applyMaterialRule
(MaterialRules.MaterialRule rule, CarverContext context, Function<BlockPos, RegistryEntry<Biome>> posToBiome, Chunk chunk, ChunkNoiseSampler chunkNoiseSampler, BlockPos pos, boolean hasFluid) Deprecated.