Package com.pixelmonmod.pixelmon
Class TimeHandler
java.lang.Object
com.pixelmonmod.pixelmon.TimeHandler
A static utility class used for updating the time in all worlds to be inline with the system time
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
Calculates the time usingDATE_FORMAT
and multiplies the hours and minutes out into seconds Adds 18,000 as this is midnight in Minecraft and therefore is aligning the time with midnight
-
Constructor Details
-
TimeHandler
public TimeHandler()
-
-
Method Details
-
changeTime
public static void changeTime()Calculates the time usingDATE_FORMAT
and multiplies the hours and minutes out into seconds Adds 18,000 as this is midnight in Minecraft and therefore is aligning the time with midnight
-