Package paulevs.edenring.world.generator
Class EdenDensityFunction
java.lang.Object
paulevs.edenring.world.generator.EdenDensityFunction
- All Implemented Interfaces:
net.minecraft.world.level.levelgen.DensityFunction,net.minecraft.world.level.levelgen.DensityFunction.SimpleFunction
public class EdenDensityFunction
extends Object
implements net.minecraft.world.level.levelgen.DensityFunction.SimpleFunction
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.world.level.levelgen.DensityFunction
net.minecraft.world.level.levelgen.DensityFunction.ContextProvider, net.minecraft.world.level.levelgen.DensityFunction.FunctionContext, net.minecraft.world.level.levelgen.DensityFunction.NoiseHolder, net.minecraft.world.level.levelgen.DensityFunction.SimpleFunction, net.minecraft.world.level.levelgen.DensityFunction.SinglePointContext, net.minecraft.world.level.levelgen.DensityFunction.Visitor -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final net.minecraft.util.KeyDispatchDataCodec<EdenDensityFunction>Fields inherited from interface net.minecraft.world.level.levelgen.DensityFunction
DIRECT_CODEC, HOLDER_HELPER_CODEC -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.world.level.levelgen.DensityFunction
abs, clamp, cube, halfNegative, quarterNegative, square, squeezeMethods inherited from interface net.minecraft.world.level.levelgen.DensityFunction.SimpleFunction
fillArray, mapAll
-
Field Details
-
CODEC
-
-
Constructor Details
-
EdenDensityFunction
public EdenDensityFunction(long seed)
-
-
Method Details
-
compute
public double compute(net.minecraft.world.level.levelgen.DensityFunction.FunctionContext context) - Specified by:
computein interfacenet.minecraft.world.level.levelgen.DensityFunction
-
minValue
public double minValue()- Specified by:
minValuein interfacenet.minecraft.world.level.levelgen.DensityFunction
-
maxValue
public double maxValue()- Specified by:
maxValuein interfacenet.minecraft.world.level.levelgen.DensityFunction
-
codec
public net.minecraft.util.KeyDispatchDataCodec<? extends net.minecraft.world.level.levelgen.DensityFunction> codec()- Specified by:
codecin interfacenet.minecraft.world.level.levelgen.DensityFunction
-