Uses of Interface
net.minecraft.world.gen.densityfunction.DensityFunction.NoisePos
Package
Description
-
Uses of DensityFunction.NoisePos in net.minecraft.util.math.noise
Modifier and TypeMethodDescriptiondouble
InterpolatedNoiseSampler.sample
(DensityFunction.NoisePos pos) Returns the density value for the given block position. -
Uses of DensityFunction.NoisePos in net.minecraft.world.biome.source.util
Modifier and TypeMethodDescriptionstatic boolean
VanillaBiomeParameters.inDeepDarkParameters
(DensityFunction erosion, DensityFunction depth, DensityFunction.NoisePos pos) -
Uses of DensityFunction.NoisePos in net.minecraft.world.gen
Modifier and TypeMethodDescription@Nullable BlockState
ChainedBlockSource.sample
(DensityFunction.NoisePos pos) double
StructureWeightSampler.sample
(DensityFunction.NoisePos pos) Returns the density value for the given block position. -
Uses of DensityFunction.NoisePos in net.minecraft.world.gen.chunk
Modifier and TypeClassDescriptionclass
ChunkNoiseSampler
is responsible for sampling the density functions for the cells in each chunk, managing caches and interpolators, theBlender
, and the block state samplers.Modifier and TypeMethodDescription@Nullable BlockState
AquiferSampler.apply
(DensityFunction.NoisePos pos, double density) @Nullable BlockState
AquiferSampler.Impl.apply
(DensityFunction.NoisePos pos, double density) double
Blender.applyBlendDensity
(DensityFunction.NoisePos pos, double density) private double
AquiferSampler.Impl.calculateDensity
(DensityFunction.NoisePos pos, MutableDouble mutableDouble, AquiferSampler.FluidLevel fluidLevel, AquiferSampler.FluidLevel fluidLevel2) double
ChunkNoiseSampler.BlendAlphaDensityFunction.sample
(DensityFunction.NoisePos pos) Returns the density value for the given block position.double
ChunkNoiseSampler.BlendOffsetDensityFunction.sample
(DensityFunction.NoisePos pos) Returns the density value for the given block position.@Nullable BlockState
ChunkNoiseSampler.BlockStateSampler.sample
(DensityFunction.NoisePos pos) double
ChunkNoiseSampler.Cache2D.sample
(DensityFunction.NoisePos pos) Returns the density value for the given block position.double
ChunkNoiseSampler.CacheOnce.sample
(DensityFunction.NoisePos pos) Returns the density value for the given block position.double
ChunkNoiseSampler.CellCache.sample
(DensityFunction.NoisePos pos) Returns the density value for the given block position.double
ChunkNoiseSampler.DensityInterpolator.sample
(DensityFunction.NoisePos pos) Returns the density value for the given block position.double
ChunkNoiseSampler.FlatCache.sample
(DensityFunction.NoisePos pos) Returns the density value for the given block position. -
Uses of DensityFunction.NoisePos in net.minecraft.world.gen.densityfunction
Modifier and TypeFieldDescriptionprivate final DensityFunction.NoisePos
DensityFunctionTypes.Spline.SplinePos.context
The field for thecontext
record component.Modifier and TypeMethodDescriptionDensityFunction.EachApplier.at
(int index) Returns the block position at a specific index of the density array.DensityFunctionTypes.Spline.SplinePos.context()
Returns the value of thecontext
record component.Modifier and TypeMethodDescriptiondouble
DensityFunctionTypes.BlendDensity.apply
(DensityFunction.NoisePos pos, double density) double
DensityFunctionTypes.Positional.apply
(DensityFunction.NoisePos pos, double density) double
DensityFunctionTypes.WeirdScaledSampler.apply
(DensityFunction.NoisePos pos, double density) double
DensityFunction.sample
(DensityFunction.NoisePos pos) Returns the density value for the given block position.double
DensityFunctionTypes.Beardifier.sample
(DensityFunction.NoisePos pos) Returns the density value for the given block position.double
DensityFunctionTypes.BinaryOperation.sample
(DensityFunction.NoisePos pos) Returns the density value for the given block position.double
DensityFunctionTypes.BlendAlpha.sample
(DensityFunction.NoisePos pos) Returns the density value for the given block position.double
DensityFunctionTypes.BlendOffset.sample
(DensityFunction.NoisePos pos) Returns the density value for the given block position.double
DensityFunctionTypes.Constant.sample
(DensityFunction.NoisePos pos) Returns the density value for the given block position.double
DensityFunctionTypes.EndIslands.sample
(DensityFunction.NoisePos pos) Returns the density value for the given block position.double
DensityFunctionTypes.Noise.sample
(DensityFunction.NoisePos pos) Returns the density value for the given block position.default double
DensityFunctionTypes.Positional.sample
(DensityFunction.NoisePos pos) Returns the density value for the given block position.double
DensityFunctionTypes.RangeChoice.sample
(DensityFunction.NoisePos pos) Returns the density value for the given block position.double
DensityFunctionTypes.RegistryEntryHolder.sample
(DensityFunction.NoisePos pos) Returns the density value for the given block position.double
DensityFunctionTypes.Shift.sample
(DensityFunction.NoisePos pos) Returns the density value for the given block position.double
DensityFunctionTypes.ShiftA.sample
(DensityFunction.NoisePos pos) Returns the density value for the given block position.double
DensityFunctionTypes.ShiftB.sample
(DensityFunction.NoisePos pos) Returns the density value for the given block position.double
DensityFunctionTypes.ShiftedNoise.sample
(DensityFunction.NoisePos pos) Returns the density value for the given block position.double
DensityFunctionTypes.Spline.sample
(DensityFunction.NoisePos pos) Returns the density value for the given block position.default double
DensityFunctionTypes.Unary.sample
(DensityFunction.NoisePos pos) Returns the density value for the given block position.double
DensityFunctionTypes.Wrapping.sample
(DensityFunction.NoisePos pos) Returns the density value for the given block position.double
DensityFunctionTypes.YClampedGradient.sample
(DensityFunction.NoisePos pos) Returns the density value for the given block position.