Uses of Enum Class
ua.mcchickenstudio.opencreative.utils.CooldownUtils.CooldownType
Packages that use CooldownUtils.CooldownType
-
Uses of CooldownUtils.CooldownType in ua.mcchickenstudio.opencreative.utils
Subclasses with type arguments of type CooldownUtils.CooldownType in ua.mcchickenstudio.opencreative.utilsModifier and TypeClassDescriptionstatic enumRepresents type of cooldown.Methods in ua.mcchickenstudio.opencreative.utils that return CooldownUtils.CooldownTypeModifier and TypeMethodDescriptionstatic CooldownUtils.CooldownTypeReturns the enum constant of this class with the specified name.static CooldownUtils.CooldownType[]CooldownUtils.CooldownType.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods in ua.mcchickenstudio.opencreative.utils with parameters of type CooldownUtils.CooldownTypeModifier and TypeMethodDescriptionstatic booleanCooldownUtils.checkAndSetCooldown(@NotNull org.bukkit.entity.Player player, @NotNull Group group, @NotNull CooldownUtils.CooldownType type) Checks if player has cooldown.static booleanCooldownUtils.checkAndSetCooldownWithMessage(@NotNull org.bukkit.entity.Player player, @NotNull Group group, @NotNull CooldownUtils.CooldownType type) Checks if player has cooldown.static booleanCooldownUtils.checkAndSetCooldownWithMessage(@NotNull org.bukkit.entity.Player player, @NotNull CooldownUtils.CooldownType type) Checks if player has cooldown.static intCooldownUtils.getCooldown(@NotNull org.bukkit.entity.Player player, @NotNull CooldownUtils.CooldownType type) Returns player's cooldown.static longCooldownUtils.getCooldownFromMap(@NotNull org.bukkit.entity.Player player, @NotNull CooldownUtils.CooldownType type) Returns cooldown timestamp for player, or 0 - if they don't have cooldown.static voidCooldownUtils.setCooldown(@NotNull org.bukkit.entity.Player player, int cooldown, @NotNull CooldownUtils.CooldownType type) Sets player's cooldown.