Class ExhaustionPerk

  • All Implemented Interfaces:
    java.lang.Comparable<Configurable>

    public abstract class ExhaustionPerk
    extends CooldownPerk
    Represents a Perk that works with the Survivor's Exhaustion Status Effect.
    • Constructor Detail

      • ExhaustionPerk

        public ExhaustionPerk​(org.bukkit.plugin.java.JavaPlugin plugin,
                              PerkUser perkUser)
        Replaces CooldownPerk's CustomCooldown cooldown to the Exhaustion Status Effect.
        Parameters:
        plugin - Your plugin's main class
        perkUser - The PerkUser that will use the Perk. (If the Perk is constructed for the Perk List, perkUser will be null.)
    • Method Detail

      • setupPerk

        protected void setupPerk()
        Description copied from class: Perk
        Created for the other abstract Perk classes. Gets called just before onStart().
        Overrides:
        setupPerk in class CooldownPerk