Interface DensityFunctions.ShiftNoise
- All Superinterfaces:
DensityFunction
,DensityFunction.SimpleFunction
- 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.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 double
maxValue()
default double
minValue()
withNewNoise
(NormalNoise p_208921_) Methods inherited from interface net.minecraft.world.level.levelgen.DensityFunction
abs, clamp, codec, compute, cube, halfNegative, quarterNegative, square, squeeze
Methods inherited from interface net.minecraft.world.level.levelgen.DensityFunction.SimpleFunction
fillArray, mapAll
-
Method Details
-
noiseData
Holder<NormalNoise.NoiseParameters> noiseData() -
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_) -
withNewNoise
-