some tweaks to the values

This commit is contained in:
modmuss50 2015-06-22 18:32:08 +01:00
parent 74a9ace574
commit 5fbe42c026
2 changed files with 15 additions and 2 deletions

View file

@ -44,11 +44,14 @@ public class GuiMatterFabricator extends GuiContainer{
protected void drawGuiContainerForegroundLayer(int p_146979_1_,
int p_146979_2_)
{
int k = (this.width - this.xSize) / 2;
int l = (this.height - this.ySize) / 2;
String name = StatCollector.translateToLocal("tile.techreborn.matterfabricator.name");
this.fontRendererObj.drawString(name, this.xSize / 2 - this.fontRendererObj.getStringWidth(name) / 2, 6, 4210752);
this.fontRendererObj.drawString(
I18n.format("container.inventory", new Object[0]), 8,
this.ySize - 96 + 2, 4210752);
this.fontRendererObj.drawString(containerMatterFabricator.getProgressScaled(100) + "%", 80, 50, 4210752);
}
}