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.SimpleFunction, DensityFunction.SinglePointContext, DensityFunction.Visitor
-
Field Summary
Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<DensityFunctions.EndIslandDensityFunction>
(package private) final SimplexNoise
Fields inherited from interface net.minecraft.world.level.levelgen.DensityFunction
DIRECT_CODEC, HOLDER_HELPER_CODEC
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncom.mojang.serialization.Codec<? extends DensityFunction>
codec()
double
compute
(DensityFunction.FunctionContext p_208633_) 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
-
islandNoise
-
-
Constructor Details
-
EndIslandDensityFunction
public EndIslandDensityFunction(long p_208630_)
-
-
Method Details
-
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
-