Fixed cable connections rendering, other fixes

- Fixed cable connections rendering to parts and other tiles.
- Fixed facade & anchors rendering.
- Many other parts related bug fixes.
This commit is contained in:
elix-x
2016-08-20 17:15:02 +02:00
parent d109878821
commit 3b7d1685c5
28 changed files with 166 additions and 200 deletions
@@ -55,6 +55,7 @@ import appeng.api.storage.IMEMonitor;
import appeng.api.storage.IStorageMonitorable;
import appeng.api.storage.data.IAEFluidStack;
import appeng.api.storage.data.IAEItemStack;
import appeng.api.util.AECableType;
import appeng.api.util.IConfigManager;
import appeng.core.sync.GuiBridge;
import appeng.helpers.DualityInterface;
@@ -138,7 +139,7 @@ public class PartInterface extends PartBasicState implements IGridTickable, ISto
}
@Override
public int getCableConnectionLength()
public float getCableConnectionLength( AECableType cable )
{
return 4;
}