Fix Grinder GUI

This commit is contained in:
Stuart Pomeroy 2016-03-26 17:05:44 +00:00
parent 267ac7b8a2
commit a284c45475
4 changed files with 4 additions and 1 deletions

View file

@ -27,6 +27,7 @@ public class BlockSolarPanel extends BaseTileBlock implements ITexturedBlock
setUnlocalizedName("techreborn.solarpanel");
setCreativeTab(TechRebornCreativeTab.instance);
this.setDefaultState(this.getDefaultState().withProperty(ACTIVE, false));
setHardness(2.0F);
}
protected BlockStateContainer createBlockState()

View file

@ -24,6 +24,7 @@ public class BlockWaterMill extends BaseTileBlock implements ITexturedBlock
super(Material.iron);
setUnlocalizedName("techreborn.watermill");
setCreativeTab(TechRebornCreativeTab.instance);
setHardness(2.0F);
RebornCore.jsonDestroyer.registerObject(this);
}

View file

@ -24,6 +24,7 @@ public class BlockWindMill extends BaseTileBlock implements ITexturedBlock
super(Material.iron);
setUnlocalizedName("techreborn.windmill");
setCreativeTab(TechRebornCreativeTab.instance);
setHardness(2.0F);
RebornCore.jsonDestroyer.registerObject(this);
}

View file

@ -39,7 +39,7 @@ public class GuiGrinder extends GuiContainer
j = grinder.getProgressScaled(24);
if (j > 0)
{
this.drawTexturedModalRect(k + 80, l + 36, 176, 14, j + 1, 16);
this.drawTexturedModalRect(k + 50, l + 36, 176, 14, j + 1, 16);
}
j = grinder.getEnergyScaled(12);