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 doublecompute(DensityFunction.FunctionContext pContext) default voidfillArray(double[] pArray, DensityFunction.ContextProvider pContextProvider) input()doubletransform(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:
computein interfaceDensityFunction
-
fillArray
- Specified by:
fillArrayin interfaceDensityFunction
-
transform
double transform(double pValue)
-