BloodMagic/src/main/java/wayoftime/bloodmagic/will/IDemonWillConduit.java
WayofTime d617911d7a Creation of 1.16.3 branch
Initial publishing of the 1.16.3 branch of the mod. A lot of systems are missing (such as Rituals and Living Armour), but enough is present for a decent Alpha release.
2020-10-24 08:59:04 -04:00

19 lines
476 B
Java

package wayoftime.bloodmagic.will;
/**
* Implement this interface on a block that can accept and store Demonic Will.
*/
public interface IDemonWillConduit
{
int getWeight();
double fillDemonWill(EnumDemonWillType type, double amount, boolean doFill);
double drainDemonWill(EnumDemonWillType type, double amount, boolean doDrain);
boolean canFill(EnumDemonWillType type);
boolean canDrain(EnumDemonWillType type);
double getCurrentWill(EnumDemonWillType type);
}