
The new one is now built for the api jar and the old one is now internal. It will slowly be moved around to sane places within the internal code. Most of the features provided in the old "api" are addon specific features which will generally rely on the main jar anyways. The new API will be specific to compatibility features, such as blacklists, recipes, and value modification.
18 lines
510 B
Java
18 lines
510 B
Java
package WayofTime.bloodmagic.apibutnotreally.soul;
|
|
|
|
/**
|
|
* 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);
|
|
}
|