Skip to content

API reference Obsidian.API.Registry.Codecs.Dimensions

MonsterSpawnLightLevel record

A dimension type's monster spawn light level: a constant, or a provider with a range.

public sealed record MonsterSpawnLightLevel : IEquatable<MonsterSpawnLightLevel>

In Obsidian.API.

Remarks

A plugin's provider other than a constant, uniform or biased-to-bottom one is kept here by its type and bounds; clients are sent it exactly as its file has it, and the server samples DimensionElement.MonsterSpawnLightProvider.

Constructors

public MonsterSpawnLightLevel();

Properties

public int? IntValue { get; set; }public MonsterSpawnLightLevelValue? Value { get; set; }

On this page