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 named net/minecraft/world/gen/chunk/ChunkNoiseSampler$BlendAlphaDensityFunctionintermediary net/minecraft/class_6568$class_6946official dzc$a
-
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 named wrappedLnet/minecraft/world/gen/chunk/ChunkNoiseSampler$ParentedNoiseType;wrapped()Lnet/minecraft/world/gen/densityfunction/DensityFunction;intermediary comp_469Lnet/minecraft/class_6568$class_6952;comp_469()Lnet/minecraft/class_6910;official kLdzc$h;k()Ldyr;
-
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 named applyLnet/minecraft/world/gen/densityfunction/DensityFunction;apply(Lnet/minecraft/world/gen/densityfunction/DensityFunction$DensityFunctionVisitor;)Lnet/minecraft/world/gen/densityfunction/DensityFunction;intermediary method_40469Lnet/minecraft/class_6910;method_40469(Lnet/minecraft/class_6910$class_6915;)Lnet/minecraft/class_6910;official aLdyr;a(Ldyr$f;)Ldyr;
-
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 named sampleLnet/minecraft/world/gen/densityfunction/DensityFunction;sample(Lnet/minecraft/world/gen/densityfunction/DensityFunction$NoisePos;)Dintermediary method_40464Lnet/minecraft/class_6910;method_40464(Lnet/minecraft/class_6910$class_6912;)Dofficial aLdyr;a(Ldyr$b;)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 named fillLnet/minecraft/world/gen/densityfunction/DensityFunction;fill([DLnet/minecraft/world/gen/densityfunction/DensityFunction$EachApplier;)Vintermediary method_40470Lnet/minecraft/class_6910;method_40470([DLnet/minecraft/class_6910$class_6911;)Vofficial aLdyr;a([DLdyr$a;)V
-
minValue
public double minValue()- Specified by:
minValuein interfaceChunkNoiseSampler.ParentedNoiseType- Specified by:
minValuein interfaceDensityFunction- Mappings:
Namespace Name Mixin selector named minValueLnet/minecraft/world/gen/densityfunction/DensityFunction;minValue()Dintermediary comp_377Lnet/minecraft/class_6910;comp_377()Dofficial aLdyr;a()D
-
maxValue
public double maxValue()- Specified by:
maxValuein interfaceChunkNoiseSampler.ParentedNoiseType- Specified by:
maxValuein interfaceDensityFunction- Mappings:
Namespace Name Mixin selector named maxValueLnet/minecraft/world/gen/densityfunction/DensityFunction;maxValue()Dintermediary comp_378Lnet/minecraft/class_6910;comp_378()Dofficial bLdyr;b()D
-
getCodecHolder
- Specified by:
getCodecHolderin interfaceDensityFunction- Mappings:
Namespace Name Mixin selector named getCodecHolderLnet/minecraft/world/gen/densityfunction/DensityFunction;getCodecHolder()Lnet/minecraft/util/dynamic/CodecHolder;intermediary method_41062Lnet/minecraft/class_6910;method_41062()Lnet/minecraft/class_7243;official cLdyr;c()Layh;
-