public RedNetConnectionType getConnectionType(World world, int x, int y, int z, ForgeDirection side) {
IRedstoneConduit conduit = getRedstoneConduit(world, x, y, z);
if(conduit == null) {
return RedNetConnectionType.None;
}
return conduit.canConnectToExternal(side, false) ? RedNetConnectionType.CableAll : RedNetConnectionType.None;
}
private static IRedstoneConduit getRedstoneConduit(IBlockAccess world, int x, int y, int z) {
TileEntity te = world.getTileEntity(x, y, z);
if(!(te instanceof IConduitBundle)) {