Skip to content

API reference Obsidian.API.Registries

TimelinesRegistry class

Vanilla's timelines (the minecraft:timeline registry), numbered by identifier like a data pack's registry, and the tags dimension types name: clients take a dimension's day and night, its moon and its villager schedule from the timelines its tag holds, so without them the overworld's sky never darkens.

public static class TimelinesRegistry

In Obsidian.API.

Properties

Identifiers

public static ImmutableArray<string> Identifiers { get; }

The timelines' identifiers, by id.

Methods

IdOf(string)

public static int IdOf(string identifier);

The timeline's id, or -1 for an unknown identifier.

Fields

public const string CodecKey = "minecraft:timeline";

On this page