Enum Class DensityFunctions.BlendAlpha
java.lang.Object
java.lang.Enum<DensityFunctions.BlendAlpha>
net.minecraft.world.level.levelgen.DensityFunctions.BlendAlpha
- All Implemented Interfaces:
Serializable, Comparable<DensityFunctions.BlendAlpha>, Constable, DensityFunction, DensityFunction.SimpleFunction
- Enclosing class:
DensityFunctions
protected static enum DensityFunctions.BlendAlpha
extends Enum<DensityFunctions.BlendAlpha>
implements DensityFunction.SimpleFunction
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E>Nested classes/interfaces inherited from interface DensityFunction
DensityFunction.ContextProvider, DensityFunction.FunctionContext, DensityFunction.NoiseHolder, DensityFunction.SimpleFunction, DensityFunction.SinglePointContext, DensityFunction.Visitor -
Enum Constant Summary
Enum Constants -
Field Summary
FieldsFields inherited from interface DensityFunction
DIRECT_CODEC, HOLDER_HELPER_CODEC -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionKeyDispatchDataCodec<? extends DensityFunction> codec()doublecompute(DensityFunction.FunctionContext context) voidfillArray(double[] output, DensityFunction.ContextProvider contextProvider) doublemaxValue()doubleminValue()static DensityFunctions.BlendAlphaReturns the enum constant of this class with the specified name.static DensityFunctions.BlendAlpha[]values()Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class Enum
clone, compareTo, describeConstable, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOfMethods inherited from interface DensityFunction
abs, clamp, cube, halfNegative, invert, quarterNegative, square, squeezeMethods inherited from interface DensityFunction.SimpleFunction
mapAll
-
Enum Constant Details
-
INSTANCE
-
-
Field Details
-
CODEC
-
-
Constructor Details
-
BlendAlpha
private BlendAlpha()
-
-
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
-
codec
- Specified by:
codecin interfaceDensityFunction
-