Renamed nomenclature to Demonic Will instead of souls - still missing a few spots
This commit is contained in:
parent
9eb49dd5a9
commit
61e6cf2a14
42 changed files with 334 additions and 339 deletions
30
src/main/java/WayofTime/bloodmagic/api/soul/IDemonWill.java
Normal file
30
src/main/java/WayofTime/bloodmagic/api/soul/IDemonWill.java
Normal file
|
@ -0,0 +1,30 @@
|
|||
package WayofTime.bloodmagic.api.soul;
|
||||
|
||||
import net.minecraft.item.ItemStack;
|
||||
|
||||
public interface IDemonWill
|
||||
{
|
||||
public double getWill(ItemStack soulStack);
|
||||
|
||||
public 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.
|
||||
*
|
||||
* @param willStack
|
||||
* @param drainAmount
|
||||
* @return The amount of will drained.
|
||||
*/
|
||||
public double drainWill(ItemStack willStack, double drainAmount);
|
||||
|
||||
/**
|
||||
* Creates a new ItemStack with the specified number of will. Implementation
|
||||
* should respect the number requested.
|
||||
*
|
||||
* @param meta
|
||||
* @param number
|
||||
* @return
|
||||
*/
|
||||
public ItemStack createWill(int meta, double number);
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue