Fixed some progress bars

This commit is contained in:
gigabit101 2016-03-22 23:27:35 +00:00
parent ab19d71ede
commit 5ea4dedcb2
5 changed files with 30 additions and 24 deletions

View file

@ -34,9 +34,8 @@ public class GuiCompressor extends GuiContainer {
int j = 0;
j = compressor.getProgressScaled(24);
// System.out.println("" + j);
if (j > 0) {
this.drawTexturedModalRect(k + 80, l + 35, 176, 14, j + 2, 16);
this.drawTexturedModalRect(k + 78, l + 35, 176, 14, j + 1, 16);
}
j = compressor.getEnergyScaled(12);
@ -50,5 +49,4 @@ public class GuiCompressor extends GuiContainer {
this.fontRendererObj.drawString(name, this.xSize / 2 - this.fontRendererObj.getStringWidth(name) / 2, 6, 4210752);
this.fontRendererObj.drawString(I18n.translateToLocalFormatted("container.inventory", new Object[0]), 8, this.ySize - 96 + 2, 4210752);
}
}

View file

@ -35,7 +35,7 @@ public class GuiExtractor extends GuiContainer {
j = extractor.getProgressScaled(24);
if (j > 0) {
this.drawTexturedModalRect(k + 50, l + 36, 176, 14, j + 1, 16);
this.drawTexturedModalRect(k + 78, l + 35, 176, 14, j + 1, 16);
}
j = extractor.getEnergyScaled(12);
@ -49,5 +49,4 @@ public class GuiExtractor extends GuiContainer {
this.fontRendererObj.drawString(name, this.xSize / 2 - this.fontRendererObj.getStringWidth(name) / 2, 6, 4210752);
this.fontRendererObj.drawString(I18n.translateToLocalFormatted("container.inventory", new Object[0]), 8, this.ySize - 96 + 2, 4210752);
}
}

View file

@ -34,7 +34,6 @@ public class GuiRecycler extends GuiContainer {
int j = 0;
j = compressor.gaugeProgressScaled(24);
// System.out.println(compressor.gaugeProgressScaled(10));
if (j > 0) {
this.drawTexturedModalRect(k + 78, l + 35, 176, 14, j + 1, 16);
}