Enum Class DensityFunctions.BeardifierMarker
java.lang.Object
java.lang.Enum<DensityFunctions.BeardifierMarker>
net.minecraft.world.level.levelgen.DensityFunctions.BeardifierMarker
- All Implemented Interfaces:
Serializable,Comparable<DensityFunctions.BeardifierMarker>,Constable,DensityFunction,DensityFunction.SimpleFunction,DensityFunctions.BeardifierOrMarker
- Enclosing class:
DensityFunctions
protected static enum DensityFunctions.BeardifierMarker
extends Enum<DensityFunctions.BeardifierMarker>
implements DensityFunctions.BeardifierOrMarker
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>Nested classes/interfaces inherited from interface net.minecraft.world.level.levelgen.DensityFunction
DensityFunction.ContextProvider, DensityFunction.FunctionContext, DensityFunction.NoiseHolder, DensityFunction.SimpleFunction, DensityFunction.SinglePointContext, DensityFunction.Visitor -
Enum Constant Summary
Enum Constants -
Field Summary
Fields inherited from interface net.minecraft.world.level.levelgen.DensityFunction
DIRECT_CODEC, HOLDER_HELPER_CODECFields inherited from interface net.minecraft.world.level.levelgen.DensityFunctions.BeardifierOrMarker
CODEC -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondoublecompute(DensityFunction.FunctionContext p_208515_) voidfillArray(double[] p_208517_, DensityFunction.ContextProvider p_208518_) doublemaxValue()doubleminValue()Returns the enum constant of this class with the specified name.static DensityFunctions.BeardifierMarker[]values()Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class java.lang.Enum
clone, compareTo, describeConstable, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOfMethods 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
mapAllMethods inherited from interface net.minecraft.world.level.levelgen.DensityFunctions.BeardifierOrMarker
codec
-
Enum Constant Details
-
INSTANCE
-
-
Constructor Details
-
BeardifierMarker
private BeardifierMarker()
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
compute
- Specified by:
computein interfaceDensityFunction
-
fillArray
- Specified by:
fillArrayin interfaceDensityFunction- Specified by:
fillArrayin interfaceDensityFunction.SimpleFunction
-
minValue
public double minValue()- Specified by:
minValuein interfaceDensityFunction
-
maxValue
public double maxValue()- Specified by:
maxValuein interfaceDensityFunction
-