Added logic to Electric furnace

This commit is contained in:
gigabit101 2016-03-06 20:39:31 +00:00
parent d02424070d
commit 5f1d059058
2 changed files with 135 additions and 28 deletions

View file

@ -34,10 +34,10 @@ public class GuiElectricFurnace extends GuiContainer {
int j = 0;
// j = furnace.getProgressScaled(24);
// if (j > 0) {
// this.drawTexturedModalRect(k + 50, l + 36, 176, 14, j + 1, 16);
// }
j = furnace.gaugeProgressScaled(24);
if (j > 0) {
this.drawTexturedModalRect(k + 78, l + 34, 176, 14, j + 1, 16);
}
j = furnace.getEnergyScaled(12);
if (j > 0) {