Fixed Grinder GUI and other?

Just fixed the grinder GUI and stuff.
This commit is contained in:
Stuart Pomeroy 2016-03-26 16:59:12 +00:00
parent ba2ad6aa4e
commit 267ac7b8a2
3 changed files with 5 additions and 1 deletions

View file

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

View file

@ -238,6 +238,7 @@ public class MultiBlockCasing extends RectangularMultiblockControllerBase
@Override
protected void onBlockAdded(IMultiblockPart newPart)
{
}
@Override

View file

@ -94,8 +94,11 @@ public class TileBlastFurnace extends TilePowerAcceptor implements IWrenchable,
{
TileEntity tileEntity = worldObj.getTileEntity(new BlockPos(getPos().getX() + direction.getFrontOffsetX(),
getPos().getY() + direction.getFrontOffsetY(), getPos().getZ() + direction.getFrontOffsetZ()));
if (tileEntity instanceof TileMachineCasing)
{
System.out.print(((TileMachineCasing) tileEntity).isConnected());
if (((TileMachineCasing) tileEntity).isConnected()
&& ((TileMachineCasing) tileEntity).getMultiblockController().isAssembled())
{