Interface DensityFunction.Base
- All Superinterfaces:
- DensityFunction
- All Known Subinterfaces:
- DensityFunctionTypes.Beardifying
- All Known Implementing Classes:
- DensityFunctionTypes.Beardifier,- DensityFunctionTypes.BlendAlpha,- DensityFunctionTypes.BlendOffset,- DensityFunctionTypes.Constant,- DensityFunctionTypes.EndIslands,- DensityFunctionTypes.YClampedGradient,- InterpolatedNoiseSampler,- StructureWeightSampler
- Enclosing interface:
- DensityFunction
Represents a density function that has no other density functions as an argument,
 and provides default implementations of 
fill(double[], net.minecraft.world.gen.densityfunction.DensityFunction.EachApplier) and
 apply(DensityFunctionVisitor) for this case.- Mappings:
- Namespace - Name - named - net/minecraft/world/gen/densityfunction/DensityFunction$Base- intermediary - net/minecraft/class_6910$class_6913- official - ecm$d
- 
Nested Class SummaryNested classes/interfaces inherited from interface net.minecraft.world.gen.densityfunction.DensityFunctionDensityFunction.Base, DensityFunction.DensityFunctionVisitor, DensityFunction.EachApplier, DensityFunction.Noise, DensityFunction.NoisePos, DensityFunction.UnblendedNoisePos
- 
Field SummaryFields inherited from interface net.minecraft.world.gen.densityfunction.DensityFunctionCODEC, FUNCTION_CODEC, REGISTRY_ENTRY_CODEC
- 
Method SummaryModifier and TypeMethodDescriptiondefault DensityFunctionApplies the visitor to every child density function andthis.default voidfill(double[] densities, DensityFunction.EachApplier applier) Fills an array of densities usingthisdensity function and theDensityFunction.EachApplier.Methods inherited from interface net.minecraft.world.gen.densityfunction.DensityFunctionabs, clamp, cube, getCodecHolder, halfNegative, maxValue, minValue, quarterNegative, sample, square, squeeze
- 
Method Details- 
fillFills an array of densities usingthisdensity function and theDensityFunction.EachApplier.- Specified by:
- fillin interface- DensityFunction
- Parameters:
- densities- the array of densities to fill, like a buffer or a cache
- applier- the- EachApplierto use. It has a method for filling the array, as well as to get a block position for an index
- Mappings:
- Namespace - Name - Mixin selector - named - fill- Lnet/minecraft/world/gen/densityfunction/DensityFunction;fill([DLnet/minecraft/world/gen/densityfunction/DensityFunction$EachApplier;)V- intermediary - method_40470- Lnet/minecraft/class_6910;method_40470([DLnet/minecraft/class_6910$class_6911;)V- official - a- Lecm;a([DLecm$a;)V
 
- 
applyApplies the visitor to every child density function andthis.- Specified by:
- applyin interface- DensityFunction
- Parameters:
- visitor- the visitor that should be applied to this density function
- Returns:
- the resulting density function
- Mappings:
- Namespace - Name - Mixin selector - named - apply- Lnet/minecraft/world/gen/densityfunction/DensityFunction;apply(Lnet/minecraft/world/gen/densityfunction/DensityFunction$DensityFunctionVisitor;)Lnet/minecraft/world/gen/densityfunction/DensityFunction;- intermediary - method_40469- Lnet/minecraft/class_6910;method_40469(Lnet/minecraft/class_6910$class_6915;)Lnet/minecraft/class_6910;- official - a- Lecm;a(Lecm$f;)Lecm;
 
 
-