time

fun time(time: Long, locked: Boolean = false)

Sends a fake time update to the player.

Parameters

time

The time of day in ticks (0–24000).

locked

Whether the time should be frozen.