Class TimeSources
java.lang.Object
dev.bouncingelf10.timelesslib.api.clock.TimeSources
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final TimeSourceReturns the current game time in nanoseconds.
Note: "Game time" is the time since the game started and will NOT change when the client is paused.static final TimeSourceReturns the current real time in nanoseconds. -
Method Summary
-
Field Details
-
GAME_TIME
Returns the current game time in nanoseconds.
Note: "Game time" is the time since the game started and will NOT change when the client is paused.- See Also:
-
REAL_TIME
Returns the current real time in nanoseconds.- See Also:
-