Rewrite to use new RebornCore Power API. Texture fixes.
This commit is contained in:
parent
6f54e3801f
commit
b292fdd352
77 changed files with 1342 additions and 3008 deletions
|
@ -42,9 +42,8 @@ public class GuiChargeBench extends GuiContainer
|
|||
|
||||
int j = 0;
|
||||
|
||||
j = chargebench.getEnergyScaled(12);
|
||||
if (j > 0)
|
||||
{
|
||||
j = (int)(chargebench.getEnergy() * 12f / chargebench.getMaxPower());
|
||||
if (j > 0) {
|
||||
this.drawTexturedModalRect(k + 10, l + 32 + 12 - j, 176, 12 - j, 14, j + 2);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue