Added in rendering for LP for the Blood Altar.
This commit is contained in:
parent
10e29c56ba
commit
6ea5e8279f
2 changed files with 67 additions and 0 deletions
|
@ -356,6 +356,7 @@ public class BloodAltar
|
|||
fluidOutputted = Math.min(this.fluid.amount, fluidOutputted);
|
||||
this.fluidOutput.amount += fluidOutputted;
|
||||
this.fluid.amount -= fluidOutputted;
|
||||
world.markBlockForUpdate(pos);
|
||||
}
|
||||
|
||||
if (internalCounter % this.getChargingFrequency() == 0 && !this.isActive)
|
||||
|
@ -364,6 +365,7 @@ public class BloodAltar
|
|||
chargeInputted = Math.min(chargeInputted, maxCharge - totalCharge);
|
||||
totalCharge += chargeInputted;
|
||||
this.fluid.amount -= chargeInputted;
|
||||
world.markBlockForUpdate(pos);
|
||||
}
|
||||
|
||||
if (internalCounter % 100 == 0 && (this.isActive || this.cooldownAfterCrafting <= 0))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue