Package net.minecraft.util
Class CubicSampler
java.lang.Object
net.minecraft.util.CubicSampler
public class CubicSampler extends Object
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
CubicSampler.RgbFetcher
-
Field Summary
Fields Modifier and Type Field Description private static double[]
DENSITY_CURVE
-
Constructor Summary
Constructors Constructor Description CubicSampler()
-
Method Summary
Modifier and Type Method Description static Vec3d
sampleColor(Vec3d pos, CubicSampler.RgbFetcher rgbFetcher)
-
Field Details
-
DENSITY_CURVE
private static final double[] DENSITY_CURVE
-
-
Constructor Details
-
CubicSampler
public CubicSampler()
-
-
Method Details
-
sampleColor
@Environment(CLIENT) @Nonnull public static Vec3d sampleColor(Vec3d pos, CubicSampler.RgbFetcher rgbFetcher)
-