WorldClocks class
A world's shared clocks, independent of the elapsed simulation time.
public sealed class WorldClocks
In Obsidian.API.
Constructors
public WorldClocks();Properties
public long GameTime { get; set; }public Dictionary<string, WorldClockState> States { get; }Methods
Tick(bool, int)
public void Tick(bool advanceTime, int clockTicks = 1);Advances game time once; the game rule gates clocks, including the End's, together.
Fields
public const string End = "minecraft:the_end";public const string Overworld = "minecraft:overworld";