Class NoiseChunk.BlendOffset
java.lang.Object
net.minecraft.world.level.levelgen.NoiseChunk.BlendOffset
- All Implemented Interfaces:
DensityFunction, NoiseChunk.NoiseChunkDensityFunction
- Enclosing class:
NoiseChunk
-
Nested Class Summary
Nested classes/interfaces inherited from interface DensityFunction
DensityFunction.ContextProvider, DensityFunction.FunctionContext, DensityFunction.NoiseHolder, DensityFunction.SimpleFunction, DensityFunction.SinglePointContext, DensityFunction.Visitor -
Field Summary
Fields inherited from interface DensityFunction
CODEC, DIRECT_CODEC, HOLDER_HELPER_CODEC -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionKeyDispatchDataCodec<? extends DensityFunction> codec()doublecompute(DensityFunction.FunctionContext context) voidfillArray(double[] output, DensityFunction.ContextProvider contextProvider) mapAll(DensityFunction.Visitor visitor) doublemaxValue()doubleminValue()wrapped()Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface DensityFunction
abs, clamp, cube, halfNegative, invert, quarterNegative, square, squeeze
-
Constructor Details
-
BlendOffset
private BlendOffset()
-
-
Method Details
-
wrapped
- Specified by:
wrappedin interfaceNoiseChunk.NoiseChunkDensityFunction
-
mapAll
- Specified by:
mapAllin interfaceDensityFunction
-
compute
- Specified by:
computein interfaceDensityFunction
-
fillArray
- Specified by:
fillArrayin interfaceDensityFunction
-
minValue
public double minValue()- Specified by:
minValuein interfaceDensityFunction- Specified by:
minValuein interfaceNoiseChunk.NoiseChunkDensityFunction
-
maxValue
public double maxValue()- Specified by:
maxValuein interfaceDensityFunction- Specified by:
maxValuein interfaceNoiseChunk.NoiseChunkDensityFunction
-
codec
- Specified by:
codecin interfaceDensityFunction
-