Fix Grinder GUI
This commit is contained in:
parent
267ac7b8a2
commit
a284c45475
4 changed files with 4 additions and 1 deletions
|
@ -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()
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue