Interface DensityFunctions.TransformerWithContext
- All Superinterfaces:
DensityFunction
- All Known Implementing Classes:
DensityFunctions.BlendDensity
,DensityFunctions.WeirdScaledSampler
- Enclosing class:
- DensityFunctions
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.world.level.levelgen.DensityFunction
DensityFunction.ContextProvider, DensityFunction.FunctionContext, DensityFunction.NoiseHolder, DensityFunction.SimpleFunction, DensityFunction.SinglePointContext, DensityFunction.Visitor
-
Field Summary
Fields inherited from interface net.minecraft.world.level.levelgen.DensityFunction
CODEC, DIRECT_CODEC, HOLDER_HELPER_CODEC
-
Method Summary
Modifier and TypeMethodDescriptiondefault double
compute
(DensityFunction.FunctionContext p_209065_) default void
fillArray
(double[] p_209069_, DensityFunction.ContextProvider p_209070_) input()
double
transform
(DensityFunction.FunctionContext p_209066_, double p_209067_) Methods inherited from interface net.minecraft.world.level.levelgen.DensityFunction
abs, clamp, codec, cube, halfNegative, mapAll, maxValue, minValue, quarterNegative, square, squeeze
-
Method Details
-
input
DensityFunction input() -
compute
- Specified by:
compute
in interfaceDensityFunction
-
fillArray
- Specified by:
fillArray
in interfaceDensityFunction
-
transform
-