Interface DensityFunctions.PureTransformer
- All Superinterfaces:
DensityFunction
- All Known Implementing Classes:
DensityFunctions.Clamp
,DensityFunctions.Mapped
,DensityFunctions.MulOrAdd
- 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 pContext) default void
fillArray
(double[] pArray, DensityFunction.ContextProvider pContextProvider) input()
double
transform
(double pValue) 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
double transform(double pValue)
-