2015-11-02 12:39:44 -08:00
|
|
|
package WayofTime.bloodmagic.api.altar;
|
2015-10-29 20:22:14 -07:00
|
|
|
|
|
|
|
public interface IBloodAltar {
|
|
|
|
|
|
|
|
int getCapacity();
|
|
|
|
|
|
|
|
int getCurrentBlood();
|
|
|
|
|
2015-11-03 08:09:16 -08:00
|
|
|
EnumAltarTier getTier();
|
2015-10-29 20:22:14 -07:00
|
|
|
|
|
|
|
int getProgress();
|
|
|
|
|
|
|
|
float getSacrificeMultiplier();
|
|
|
|
|
|
|
|
float getSelfSacrificeMultiplier();
|
|
|
|
|
|
|
|
float getOrbMultiplier();
|
|
|
|
|
|
|
|
float getDislocationMultiplier();
|
|
|
|
|
|
|
|
int getBufferCapacity();
|
|
|
|
|
|
|
|
void sacrificialDaggerCall(int amount, boolean b);
|
|
|
|
|
|
|
|
void startCycle();
|
|
|
|
|
2015-12-02 16:02:18 -08:00
|
|
|
void checkTier();
|
|
|
|
|
2015-10-29 20:22:14 -07:00
|
|
|
/**
|
|
|
|
* Will set the altar to initiate a cooldown cycle after it crafts before starting to craft again, giving the user time to interact with the altar.
|
|
|
|
* This can only be set while the altar is not active.
|
|
|
|
*
|
|
|
|
* @param cooldown - How long the cooldown should last
|
|
|
|
*/
|
|
|
|
void requestPauseAfterCrafting(int cooldown);
|
|
|
|
|
|
|
|
void addToDemonBloodDuration(int dur);
|
|
|
|
|
|
|
|
boolean hasDemonBlood();
|
|
|
|
|
|
|
|
void decrementDemonBlood();
|
|
|
|
}
|