Interface CarvingContext.CarveSkipChecker

Enclosing interface:
CarvingContext<C>
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@AsOf("3.0.0") @FunctionalInterface public static interface CarvingContext.CarveSkipChecker
Mirror of: net.minecraft.world.level.levelgen.carver.WorldCarver.CarveSkipChecker.

The deltas are normalized to the ellipsoid: a position lies inside it when xd * xd + yd * yd + zd * zd < 1.0. Return true to leave a position untouched. This is where a cave's cross-sectional shape lives.

Since:
3.0.0
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    shouldSkip(CarvingContext<?> context, double xd, double yd, double zd, int y)
     
  • Method Details

    • shouldSkip

      @AsOf("3.0.0") boolean shouldSkip(CarvingContext<?> context, double xd, double yd, double zd, int y)