Class NoiseChunk.BlendAlpha
java.lang.Object
net.minecraft.world.level.levelgen.NoiseChunk.BlendAlpha
- All Implemented Interfaces:
DensityFunction
,NoiseChunk.NoiseChunkDensityFunction
- Enclosing class:
- NoiseChunk
-
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
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncom.mojang.serialization.Codec<? extends DensityFunction>
codec()
double
compute
(DensityFunction.FunctionContext p_209264_) void
fillArray
(double[] p_209266_, DensityFunction.ContextProvider p_209267_) double
maxValue()
double
minValue()
wrapped()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.world.level.levelgen.DensityFunction
abs, clamp, cube, halfNegative, quarterNegative, square, squeeze
Methods inherited from interface net.minecraft.world.level.levelgen.NoiseChunk.NoiseChunkDensityFunction
mapAll
-
Constructor Details
-
BlendAlpha
BlendAlpha()
-
-
Method Details
-
wrapped
- Specified by:
wrapped
in interfaceNoiseChunk.NoiseChunkDensityFunction
-
compute
- Specified by:
compute
in interfaceDensityFunction
-
fillArray
- Specified by:
fillArray
in interfaceDensityFunction
-
minValue
public double minValue()- Specified by:
minValue
in interfaceDensityFunction
- Specified by:
minValue
in interfaceNoiseChunk.NoiseChunkDensityFunction
-
maxValue
public double maxValue()- Specified by:
maxValue
in interfaceDensityFunction
- Specified by:
maxValue
in interfaceNoiseChunk.NoiseChunkDensityFunction
-
codec
- Specified by:
codec
in interfaceDensityFunction
-