Basic auto crafting logic

This commit is contained in:
modmuss50 2017-06-21 16:22:57 +01:00
parent 6bba67640c
commit 6982342dc0
No known key found for this signature in database
GPG key ID: 203A5ED4D3E48BEA
2 changed files with 130 additions and 7 deletions

View file

@ -77,7 +77,7 @@ public class GuiAutoCrafting extends GuiBase {
}
final Layer layer = Layer.FOREGROUND;
this.builder.drawMultiEnergyBar(this, 9, 26, (int) this.tileAutoCraftingTable.getEnergy(), (int) this.tileAutoCraftingTable.getMaxPower(), mouseX, mouseY, 0, layer);
this.builder.drawProgressBar(this, 50, 100, 120, 44, mouseX, mouseY, TRBuilder.ProgressDirection.RIGHT, layer);
this.builder.drawProgressBar(this, tileAutoCraftingTable.getProgress(), tileAutoCraftingTable.getMaxProgress(), 120, 44, mouseX, mouseY, TRBuilder.ProgressDirection.RIGHT, layer);
}
//Based of vanilla code