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 doublecompute(double p_208918_, double p_208919_, double p_208920_) default voidfillArray(double[] p_224103_, DensityFunction.ContextProvider p_224104_) default doublemaxValue()default doubleminValue()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:
minValuein interfaceDensityFunction
-
maxValue
default double maxValue()- Specified by:
maxValuein interfaceDensityFunction
-
compute
default double compute(double p_208918_, double p_208919_, double p_208920_) -
fillArray
- Specified by:
fillArrayin interfaceDensityFunction
-