Skip to content

API reference Obsidian.API.World.Generator.DensityFunctions

EndIslandsDensityFunction class

Height field of the main End island and the outer islands.

public sealed class EndIslandsDensityFunction : IDensityFunction, IRegistryResource

In Obsidian.API.

Remarks

Registry instances use seed 0, like vanilla's codec. World generation creates a seeded copy with EndIslandsDensityFunction.WithSeed.

Constructors

public EndIslandsDensityFunction();

Properties

public double MaxValue { get; }public double MinValue { get; }public string Type { get; }

Methods

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

WithSeed(long)

public static EndIslandsDensityFunction WithSeed(long seed);

Returns a copy of this function seeded with the world seed.

On this page