Fix for Industrial Grinder. Closes #1155 (#1253)

Fix for tank issue, recipe energy consumption made equal to I\O rate, a
little bit of cleanup
This commit is contained in:
drcrazy 2017-08-28 00:38:10 +03:00 committed by GitHub
parent 44524a680b
commit 63be913878
4 changed files with 134 additions and 111 deletions

View file

@ -78,7 +78,7 @@ public class GuiIndustrialGrinder extends GuiBase {
final Layer layer = Layer.FOREGROUND;
this.builder.drawProgressBar(this, this.tile.getProgressScaled(100), 100, 105, 47, mouseX, mouseY, TRBuilder.ProgressDirection.RIGHT, layer);
this.builder.drawTank(this, 53, 25, mouseX, mouseY, tile.tank.getFluid(), tile.tank.getCapacity(), tile.tank.isEmpty(), layer);
this.builder.drawTank(this, 53, 25, mouseX, mouseY, this.tile.tank.getFluid(), this.tile.tank.getCapacity(), this.tile.tank.isEmpty(), layer);
this.builder.drawMultiEnergyBar(this, 9, 19, (int) this.tile.getEnergy(), (int) this.tile.getMaxPower(), mouseX, mouseY, 0, layer);
if (tile.getMutliBlock()) {
addHologramButton(6, 4, 212, layer);