dev.aurelium.auraskills.api.trait.TraitHandler 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.trait;
import dev.aurelium.auraskills.api.util.NumberUtil;
import java.util.Locale;
public interface TraitHandler {
Trait[] getTraits();
default String getMenuDisplay(double value, Trait trait, Locale locale) {
return NumberUtil.format1(value);
}
}