Skip to content

Time

Provides the current game time (in ticks.)

Type ID: kaya:time

Format

Field Type Default Description
period Int Provider optional If specified, the remainder of the game time divided by this value will be provided instead.

Example

{
    "type": "kaya:time",
    "period": 12000
}

This example will provide the remainder of the current game time divided by $12000$.

History

Minecraft Mod Changelog
1.21.5 0.1.0 Added the type.