Class Cooldown
- java.lang.Object
-
- net.eternalclient.api.wrappers.cooldown.Cooldown
-
public class Cooldown extends java.lang.Object
This class provides methods to retrieve cooldown times for home teleport and minigame teleport.
-
-
Constructor Summary
Constructors Constructor Description Cooldown()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static int
getHomeTeleport()
Calculates the remaining cooldown time for the home teleport spell.static int
getMinigameTeleport()
Returns the cooldown time remaining for the minigame teleport in minutes.
-
-
-
Method Detail
-
getHomeTeleport
public static int getHomeTeleport()
Calculates the remaining cooldown time for the home teleport spell.- Returns:
- the remaining cooldown time in minutes, or 0 if the cooldown has expired.
- See Also:
PlayerSettings.getConfig(int)
,VarPlayer.LAST_HOME_TELEPORT
-
getMinigameTeleport
public static int getMinigameTeleport()
Returns the cooldown time remaining for the minigame teleport in minutes.- Returns:
- the remaining cooldown time in minutes.
-
-