Object TimeOfDay.Companion
-
- All Implemented Interfaces:
public class TimeOfDay.Companion
-
-
Field Summary
Fields Modifier and Type Field Description private final static Integer
TICKS_PER_DAY
public final static TimeOfDay.Companion
INSTANCE
-
Method Summary
Modifier and Type Method Description final Unit
set(LevelAccessor level, TimeOfDay target)
Set the time of day for a level. final Unit
set(ServerLevel level, Long target)
Set the time of day for a ServerLevel. final Unit
setFake(TimeOfDay target)
Set the time of day, visually, for all players. final Unit
setFake(TimeOfDay target, ServerPlayer players)
Set the time of day, visually, for a specific set of players.
-