ModTweaker/src/api/java/chylex/hee/api/interfaces/IAcceptFieryEssence.java
2015-01-11 21:59:45 +02:00

19 lines
601 B
Java

package chylex.hee.api.interfaces;
/**
* Use this interface for any tile entities that should use Fiery Essence for a speed boost (or some other effect).
*/
public interface IAcceptFieryEssence{
/**
* Returns how many times the Altar can boost the acceptor. Higher levels of essence should have higher boost.
* @param essenceLevel current level of essence
* @return amount of boosts available
*/
int getBoostAmount(int essenceLevel);
/**
* Performs a single boost. This method is called multiple times, based on number returned by {@link #getBoostAmount(int)}.
*/
void boost();
}