πŸͺAPI Hooks

This is everything you should know about the API hooks. That currently only support for Lazarus or Azurite HCF core.

/**
 * Represents the Hook clas
 */
public class Hook {

    /**
     * Gets whether this player is on ender pearl cooldown or not.
     *
     * @param player Player to check
     *
     * @return whether this player is on ender pearl cooldown or not
     */
    public boolean isOnCooldown(Player player) {
        throw new IllegalArgumentException("Hook not found");
    }

    /**
     * Removes ender pearl cooldown from player
     *
     * @param player Player to remove ender pearl cooldown
     *
     */
    public void removeCooldown(Player player) {
        throw new IllegalArgumentException("Hook not found");
    }

    /**
     * Adds ender pearl cooldown to player
     *
     * @param player Player to add ender pearl cooldown
     *
     */
    public void addCooldown(Player player) { throw new IllegalArgumentException("Hook not found"); }

}

Last updated

Was this helpful?