Skip to content

API reference Obsidian.API.World.Generator.DensityFunctions

OldBlendedNoiseDensityFunction class

The pre-1.18 3D terrain noise, still used as the base of overworld and nether terrain.

public class OldBlendedNoiseDensityFunction : IDensityFunction, IRegistryResource

In Obsidian.API.

Remarks

Registry instances are unseeded (vanilla seeds them with 0). World generation binds a seeded copy with OldBlendedNoiseDensityFunction.WithRandom.

Constructors

public OldBlendedNoiseDensityFunction();

Properties

public double MaxValue { get; }public double MinValue { get; }public required double SmearScaleMultiplier { get; init; }public string Type { get; }public required double XzFactor { get; init; }public required double XzScale { get; init; }public required double YFactor { get; init; }public required double YScale { get; init; }

Methods

public double GetValue(double x, double y, double z);

WithRandom(IRandomSource)

public OldBlendedNoiseDensityFunction WithRandom(IRandomSource random);

Returns a copy of this function seeded from random.

On this page