Package net.minecraft.world.gen.chunk
Class ChunkNoiseSampler.BlendAlphaDensityFunction
java.lang.Object
net.minecraft.world.gen.chunk.ChunkNoiseSampler.BlendAlphaDensityFunction
- All Implemented Interfaces:
ChunkNoiseSampler.ParentedNoiseType,DensityFunction
- Enclosing class:
ChunkNoiseSampler
private class ChunkNoiseSampler.BlendAlphaDensityFunction
extends Object
implements ChunkNoiseSampler.ParentedNoiseType
- Mappings:
Namespace Name official dhl$aintermediary net/minecraft/class_6568$class_6946named net/minecraft/world/gen/chunk/ChunkNoiseSampler$BlendAlphaDensityFunction
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.world.gen.densityfunction.DensityFunction
DensityFunction.Base, DensityFunction.DensityFunctionVisitor, DensityFunction.EachApplier, DensityFunction.Noise, DensityFunction.NoisePos, DensityFunction.UnblendedNoisePos -
Field Summary
Fields inherited from interface net.minecraft.world.gen.densityfunction.DensityFunction
CODEC, FUNCTION_CODEC, REGISTRY_ENTRY_CODEC -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionApplies the visitor to every child density function andthis.voidfill(double[] densities, DensityFunction.EachApplier applier) Fills an array of densities usingthisdensity function and theDensityFunction.EachApplier.CodecHolder<? extends DensityFunction>doublemaxValue()doubleminValue()doubleReturns the density value for the given block position.wrapped()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.world.gen.densityfunction.DensityFunction
abs, clamp, cube, halfNegative, quarterNegative, square, squeeze
-
Constructor Details
-
BlendAlphaDensityFunction
BlendAlphaDensityFunction()
-
-
Method Details
-
wrapped
- Specified by:
wrappedin interfaceChunkNoiseSampler.ParentedNoiseType- Mappings:
Namespace Name Mixin selector official kLdhl$h;k()Ldha;intermediary comp_469Lnet/minecraft/class_6568$class_6952;comp_469()Lnet/minecraft/class_6910;named wrappedLnet/minecraft/world/gen/chunk/ChunkNoiseSampler$ParentedNoiseType;wrapped()Lnet/minecraft/world/gen/densityfunction/DensityFunction;
-
apply
Applies the visitor to every child density function andthis.- Specified by:
applyin interfaceDensityFunction- Parameters:
visitor- the visitor that should be applied to this density function- Returns:
- the resulting density function
- Mappings:
Namespace Name Mixin selector official aLdha;a(Ldha$f;)Ldha;intermediary method_40469Lnet/minecraft/class_6910;method_40469(Lnet/minecraft/class_6910$class_6915;)Lnet/minecraft/class_6910;named applyLnet/minecraft/world/gen/densityfunction/DensityFunction;apply(Lnet/minecraft/world/gen/densityfunction/DensityFunction$DensityFunctionVisitor;)Lnet/minecraft/world/gen/densityfunction/DensityFunction;
-
sample
Returns the density value for the given block position.- Specified by:
samplein interfaceDensityFunction- Parameters:
pos- the block position- Returns:
- the density value for the given block position
- Mappings:
Namespace Name Mixin selector official aLdha;a(Ldha$b;)Dintermediary method_40464Lnet/minecraft/class_6910;method_40464(Lnet/minecraft/class_6910$class_6912;)Dnamed sampleLnet/minecraft/world/gen/densityfunction/DensityFunction;sample(Lnet/minecraft/world/gen/densityfunction/DensityFunction$NoisePos;)D
-
fill
Fills an array of densities usingthisdensity function and theDensityFunction.EachApplier.- Specified by:
fillin interfaceDensityFunction- Parameters:
densities- the array of densities to fill, like a buffer or a cacheapplier- theEachApplierto 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 official aLdha;a([DLdha$a;)Vintermediary method_40470Lnet/minecraft/class_6910;method_40470([DLnet/minecraft/class_6910$class_6911;)Vnamed fillLnet/minecraft/world/gen/densityfunction/DensityFunction;fill([DLnet/minecraft/world/gen/densityfunction/DensityFunction$EachApplier;)V
-
minValue
public double minValue()- Specified by:
minValuein interfaceChunkNoiseSampler.ParentedNoiseType- Specified by:
minValuein interfaceDensityFunction- Mappings:
Namespace Name Mixin selector official aLdha;a()Dintermediary comp_377Lnet/minecraft/class_6910;comp_377()Dnamed minValueLnet/minecraft/world/gen/densityfunction/DensityFunction;minValue()D
-
maxValue
public double maxValue()- Specified by:
maxValuein interfaceChunkNoiseSampler.ParentedNoiseType- Specified by:
maxValuein interfaceDensityFunction- Mappings:
Namespace Name Mixin selector official bLdha;b()Dintermediary comp_378Lnet/minecraft/class_6910;comp_378()Dnamed maxValueLnet/minecraft/world/gen/densityfunction/DensityFunction;maxValue()D
-
getCodecHolder
- Specified by:
getCodecHolderin interfaceDensityFunction- Mappings:
Namespace Name Mixin selector official cLdha;c()Laou;intermediary method_41062Lnet/minecraft/class_6910;method_41062()Lnet/minecraft/class_7243;named getCodecHolderLnet/minecraft/world/gen/densityfunction/DensityFunction;getCodecHolder()Lnet/minecraft/util/dynamic/CodecHolder;
-