Added deprecated methods for easier updating - Oops!
This commit is contained in:
parent
99f9d06659
commit
d1f4e95a7e
3 changed files with 28 additions and 0 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue