Interface DensityFunctions.ShiftNoise
- All Superinterfaces:
DensityFunction
- All Known Implementing Classes:
DensityFunctions.Shift
,DensityFunctions.ShiftA
,DensityFunctions.ShiftB
- 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
(double p_208918_, double p_208919_, double p_208920_) default void
fillArray
(double[] p_224103_, DensityFunction.ContextProvider p_224104_) default double
maxValue()
default double
minValue()
Methods inherited from interface net.minecraft.world.level.levelgen.DensityFunction
abs, clamp, codec, compute, cube, halfNegative, mapAll, quarterNegative, square, squeeze
-
Method Details
-
offsetNoise
DensityFunction.NoiseHolder offsetNoise() -
minValue
default double minValue()- Specified by:
minValue
in interfaceDensityFunction
-
maxValue
default double maxValue()- Specified by:
maxValue
in interfaceDensityFunction
-
compute
default double compute(double p_208918_, double p_208919_, double p_208920_) -
fillArray
- Specified by:
fillArray
in interfaceDensityFunction
-