Class DensityFunctions.EndIslandDensityFunction
java.lang.Object
net.minecraft.world.level.levelgen.DensityFunctions.EndIslandDensityFunction
- All Implemented Interfaces:
DensityFunction
,DensityFunction.SimpleFunction
- Enclosing class:
DensityFunctions
protected static final class DensityFunctions.EndIslandDensityFunction
extends Object
implements DensityFunction.SimpleFunction
-
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
DIRECT_CODEC, HOLDER_HELPER_CODEC
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionKeyDispatchDataCodec
<? extends DensityFunction> codec()
double
compute
(DensityFunction.FunctionContext p_208633_) private static float
getHeightValue
(SimplexNoise p_224063_, int p_224064_, int p_224065_) double
maxValue()
double
minValue()
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.DensityFunction.SimpleFunction
fillArray, mapAll
-
Field Details
-
CODEC
-
ISLAND_THRESHOLD
private static final float ISLAND_THRESHOLD- See Also:
-
islandNoise
-
-
Constructor Details
-
EndIslandDensityFunction
public EndIslandDensityFunction(long p_208630_)
-
-
Method Details
-
getHeightValue
-
compute
- Specified by:
compute
in interfaceDensityFunction
-
minValue
public double minValue()- Specified by:
minValue
in interfaceDensityFunction
-
maxValue
public double maxValue()- Specified by:
maxValue
in interfaceDensityFunction
-
codec
- Specified by:
codec
in interfaceDensityFunction
-