Fixed Grinder GUI and other?
Just fixed the grinder GUI and stuff.
This commit is contained in:
parent
ba2ad6aa4e
commit
267ac7b8a2
3 changed files with 5 additions and 1 deletions
|
@ -39,7 +39,7 @@ public class GuiGrinder extends GuiContainer
|
||||||
j = grinder.getProgressScaled(24);
|
j = grinder.getProgressScaled(24);
|
||||||
if (j > 0)
|
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);
|
j = grinder.getEnergyScaled(12);
|
||||||
|
|
|
@ -238,6 +238,7 @@ public class MultiBlockCasing extends RectangularMultiblockControllerBase
|
||||||
@Override
|
@Override
|
||||||
protected void onBlockAdded(IMultiblockPart newPart)
|
protected void onBlockAdded(IMultiblockPart newPart)
|
||||||
{
|
{
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
|
@ -94,8 +94,11 @@ public class TileBlastFurnace extends TilePowerAcceptor implements IWrenchable,
|
||||||
{
|
{
|
||||||
TileEntity tileEntity = worldObj.getTileEntity(new BlockPos(getPos().getX() + direction.getFrontOffsetX(),
|
TileEntity tileEntity = worldObj.getTileEntity(new BlockPos(getPos().getX() + direction.getFrontOffsetX(),
|
||||||
getPos().getY() + direction.getFrontOffsetY(), getPos().getZ() + direction.getFrontOffsetZ()));
|
getPos().getY() + direction.getFrontOffsetY(), getPos().getZ() + direction.getFrontOffsetZ()));
|
||||||
|
|
||||||
|
|
||||||
if (tileEntity instanceof TileMachineCasing)
|
if (tileEntity instanceof TileMachineCasing)
|
||||||
{
|
{
|
||||||
|
System.out.print(((TileMachineCasing) tileEntity).isConnected());
|
||||||
if (((TileMachineCasing) tileEntity).isConnected()
|
if (((TileMachineCasing) tileEntity).isConnected()
|
||||||
&& ((TileMachineCasing) tileEntity).getMultiblockController().isAssembled())
|
&& ((TileMachineCasing) tileEntity).getMultiblockController().isAssembled())
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Reference in a new issue