Class Cooldown
java.lang.Object
tfagaming.projects.minecraft.homestead.cooldown.Cooldown
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic longgetRemainingTime(org.bukkit.entity.Player player) static booleanhasCooldown(org.bukkit.entity.Player player) static booleanhasCooldown(org.bukkit.entity.Player player, Cooldown.Type type) static voidstatic voidsendCooldownMessage(org.bukkit.entity.Player player) static voidstartCooldown(org.bukkit.entity.Player player, Cooldown.Type type)
-
Constructor Details
-
Cooldown
public Cooldown()
-
-
Method Details
-
startCooldown
-
removePlayerCooldown
-
hasCooldown
public static boolean hasCooldown(org.bukkit.entity.Player player) -
hasCooldown
-
getRemainingTime
public static long getRemainingTime(org.bukkit.entity.Player player) -
sendCooldownMessage
public static void sendCooldownMessage(org.bukkit.entity.Player player)
-