Added deprecated methods for easier updating - Oops!

This commit is contained in:
WayofTime 2016-12-07 08:14:05 -05:00
parent 99f9d06659
commit d1f4e95a7e
3 changed files with 28 additions and 0 deletions

View file

@ -14,6 +14,9 @@ public interface IDemonWill
*/
double getWill(EnumDemonWillType type, ItemStack willStack);
@Deprecated
double getWill(ItemStack willStack);
/**
* Sets the amount of Will in a given ItemStack.
*
@ -24,6 +27,9 @@ public interface IDemonWill
*/
void setWill(EnumDemonWillType type, ItemStack willStack, double will);
@Deprecated
void setWill(ItemStack willStack, double will);
/**
* Drains the demonic will from the willStack. If all of the will is
* drained, the willStack will be removed.
@ -37,6 +43,9 @@ public interface IDemonWill
*/
double drainWill(EnumDemonWillType type, ItemStack willStack, double drainAmount);
@Deprecated
double drainWill(ItemStack willStack, double drainAmount);
/**
* Creates a new ItemStack with the specified number of will. Implementation
* should respect the number requested.