Added a crafting cooldown on IAltar, so that outside blocks may request the altar to not perform work while it is not active.
This commit is contained in:
parent
8fbb19acc0
commit
39e3d6eb34
14 changed files with 57 additions and 26 deletions
|
@ -27,4 +27,11 @@ public interface IBloodAltar
|
|||
public void sacrificialDaggerCall(int amount, boolean b);
|
||||
|
||||
public void startCycle();
|
||||
|
||||
/**
|
||||
* 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 amount
|
||||
*/
|
||||
public void requestPauseAfterCrafting(int amount);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue