2015-11-02 20:39:44 +00:00
|
|
|
package WayofTime.bloodmagic.api.altar;
|
2015-10-30 03:22:14 +00:00
|
|
|
|
2015-12-30 20:34:40 +00:00
|
|
|
public interface IBloodAltar
|
|
|
|
{
|
2015-10-30 03:22:14 +00:00
|
|
|
int getCapacity();
|
|
|
|
|
|
|
|
int getCurrentBlood();
|
|
|
|
|
2015-11-03 16:09:16 +00:00
|
|
|
EnumAltarTier getTier();
|
2015-10-30 03:22:14 +00:00
|
|
|
|
|
|
|
int getProgress();
|
|
|
|
|
|
|
|
float getSacrificeMultiplier();
|
|
|
|
|
|
|
|
float getSelfSacrificeMultiplier();
|
|
|
|
|
|
|
|
float getOrbMultiplier();
|
|
|
|
|
|
|
|
float getDislocationMultiplier();
|
|
|
|
|
2015-12-28 00:38:12 +00:00
|
|
|
float getConsumptionMultiplier();
|
|
|
|
|
|
|
|
float getConsumptionRate();
|
|
|
|
|
|
|
|
int getLiquidRequired();
|
|
|
|
|
2015-10-30 03:22:14 +00:00
|
|
|
int getBufferCapacity();
|
|
|
|
|
2015-12-29 00:09:51 +00:00
|
|
|
void sacrificialDaggerCall(int amount, boolean isSacrifice);
|
2015-10-30 03:22:14 +00:00
|
|
|
|
|
|
|
void startCycle();
|
|
|
|
|
2015-12-03 00:02:18 +00:00
|
|
|
void checkTier();
|
2015-12-30 20:34:40 +00:00
|
|
|
|
2015-12-23 01:32:25 +00:00
|
|
|
boolean isActive();
|
2015-12-30 20:34:40 +00:00
|
|
|
|
2015-12-23 01:32:25 +00:00
|
|
|
void setActive();
|
2015-12-30 20:34:40 +00:00
|
|
|
|
2015-12-23 01:32:25 +00:00
|
|
|
int fillMainTank(int amount);
|
2015-12-03 00:02:18 +00:00
|
|
|
|
2015-10-30 03:22:14 +00:00
|
|
|
/**
|
2015-12-30 20:34:40 +00: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.
|
2015-10-30 03:22:14 +00:00
|
|
|
* This can only be set while the altar is not active.
|
2015-12-30 20:34:40 +00:00
|
|
|
*
|
|
|
|
* @param cooldown
|
|
|
|
* - How long the cooldown should last
|
2015-10-30 03:22:14 +00:00
|
|
|
*/
|
|
|
|
void requestPauseAfterCrafting(int cooldown);
|
|
|
|
}
|