Class TimelessClock
java.lang.Object
dev.bouncingelf10.timelesslib.api.clock.TimelessClock
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
TimelessClock
public TimelessClock()
-
-
Method Details
-
update
public static void update() -
isPaused
public static boolean isPaused()Checks if the client is paused
Note: "paused" means that the game is frozen, not that the client is on the pause screen. So the client can never be "paused" if on a dedicated server. -
deltaNanos
public static long deltaNanos() -
deltaSeconds
public static double deltaSeconds() -
gameTime
public static long gameTime() -
realTime
public static long realTime()
-