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 SummaryNested classes/interfaces inherited from class java.lang.EnumEnum.EnumDesc<E extends Enum<E>>Nested classes/interfaces inherited from interface net.minecraft.world.level.levelgen.DensityFunctionDensityFunction.ContextProvider, DensityFunction.FunctionContext, DensityFunction.NoiseHolder, DensityFunction.SimpleFunction, DensityFunction.SinglePointContext, DensityFunction.Visitor
- 
Enum Constant SummaryEnum Constants
- 
Field SummaryFieldsFields inherited from interface net.minecraft.world.level.levelgen.DensityFunctionDIRECT_CODEC, HOLDER_HELPER_CODEC
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionKeyDispatchDataCodec<? extends DensityFunction>codec()doublecompute(DensityFunction.FunctionContext p_208536_) voidfillArray(double[] p_208538_, DensityFunction.ContextProvider p_208539_) 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 java.lang.Enumclone, compareTo, describeConstable, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOfMethods inherited from interface net.minecraft.world.level.levelgen.DensityFunctionabs, clamp, cube, halfNegative, quarterNegative, square, squeezeMethods inherited from interface net.minecraft.world.level.levelgen.DensityFunction.SimpleFunctionmapAll
- 
Enum Constant Details- 
INSTANCE
 
- 
- 
Field Details- 
CODEC
 
- 
- 
Constructor Details- 
BlendAlphaprivate BlendAlpha()
 
- 
- 
Method Details- 
valuesReturns 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
 
- 
valueOfReturns 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 name
- NullPointerException- if the argument is null
 
- 
compute- Specified by:
- computein interface- DensityFunction
 
- 
fillArray- Specified by:
- fillArrayin interface- DensityFunction
- Specified by:
- fillArrayin interface- DensityFunction.SimpleFunction
 
- 
minValuepublic double minValue()- Specified by:
- minValuein interface- DensityFunction
 
- 
maxValuepublic double maxValue()- Specified by:
- maxValuein interface- DensityFunction
 
- 
codec- Specified by:
- codecin interface- DensityFunction
 
 
-