Add API to get default value of an Attribute

By: md_5 <git@md-5.net>
This commit is contained in:
Bukkit/Spigot 2016-12-09 12:30:32 +11:00
parent eae60ccc96
commit 6d7bd7b8d4

View file

@ -57,4 +57,11 @@ public interface AttributeInstance {
* @return the total attribute value
*/
double getValue();
/**
* Gets the default value of the Attribute attached to this instance.
*
* @return server default value
*/
double getDefaultValue();
}