dev.aurelium.auraskills.api.skill.XpRequirements Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of auraskills-api Show documentation
Show all versions of auraskills-api Show documentation
API for AuraSkills, the ultra-versatile RPG skills plugin for Minecraft
package dev.aurelium.auraskills.api.skill;
public interface XpRequirements {
/**
* Gets the amount of xp required to reach the specified level. Skill specific xp requirements
* are used if they exist.
*
* @param skill Skill to get xp required for
* @param level Level to get xp required for
* @return The amount of xp required
*/
int getXpRequired(Skill skill, int level);
/**
* Gets the default amount of xp required to reach the specified level
*
* @param level Level to get xp required for
* @return The amount of xp required
*/
int getDefaultXpRequired(int level);
}