Added Blood Letter's backpack, attempting to add NBT-sensitive blood altar recipes.
This commit is contained in:
parent
66501744f6
commit
9935197282
4 changed files with 227 additions and 2 deletions
|
@ -84,6 +84,18 @@ public class TEAltar extends TileEntity implements IInventory, IFluidTank, IFlui
|
|||
progress = 0;
|
||||
this.lockdownDuration = 0;
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* @return Amount filled
|
||||
*/
|
||||
public int fillMainTank(int amount) //TODO
|
||||
{
|
||||
int filledAmount = Math.min(capacity - fluid.amount, amount);
|
||||
fluid.amount += filledAmount;
|
||||
|
||||
return filledAmount;
|
||||
}
|
||||
|
||||
public int getRSPowerOutput()
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue