Vacuum Cleaner

by majoca

Automatically pick up desired items from belts, inserters, and/or the ground. Can filter for an unlimited number of items with whitelist and blacklist. Useful for when items get on the wrong belt.

Utilities
10 months ago
1.1
2.98K

Changelog

Version: 1.3.9
Date: 12 December 2023
  Changes:
    - Removed custom message timers in favor of new PrintSettings API
Version: 1.3.8
Date: 3 September 2022
  Minor Features:
    - Stack size is now displayed in button tooltips when setting item filters
Version: 1.3.7
Date: 28 May 2022
  Minor Features:
    - When searching for a preset and only one matches the query, confirming the textfield (pressing Enter) will load that preset
  Changes:
    - Slightly reduced pickup range to more closely match vanilla pickup behavior
  Gui:
    - Reduced the clutter in the presets list by adding a button to show preset settings
    - Reordering presets no longer rebuilds the presets table from scratch (which means that confirm/cancel/etc. buttons on other presets won't dissappear)
    - The "import selected presets" button now has a green confirmation-button style
    - Windows now close without confirming when closing them with a keyboard shortcut such as ESC (but still confirm when using the confirm-window shortcut)
    - Item selection window no longer confirms when closing it by clicking the top-right "close" button
  Bugfixes:
    - The "Toggle vacuum cleaner" shortcut button now properly updates its selected/unselected state when enabling/disabling the vacuum through the GUI
Version: 1.3.6
Date: 16 December 2021
  Features:
    - Added the ability to overwrite an existing preset with the current filter settings
  Bugfixes:
    - Fixed a crash when importing presets
Version: 1.3.5
Date: 14 October 2021
  Optimisations:
    - Improved startup time for starting new saves or when loading saves with different mods
    - No longer scans nearby entities if their type is currently disabled
Version: 1.3.4
Date: 27 June 2021
  Bugfixes:
    - Fixed that whitelist/blacklist mode could be overridden in presets when loading a new version of the mod
Version: 1.3.3
Date: 27 June 2021
  Gui:
    - Modified sprites for certain hovered and clicked buttons to be more consistent with vanilla GUI's
    - Fixed the amount of padding at the bottom of the main GUI
Version: 1.3.2
Date: 8 May 2021
  Bugfixes:
    - Fixed crash when interacting with certain GUI elements from other mods (thanks Neko14789 for report)
Version: 1.3.1
Date: 18 April 2021
  Bugfixes:
    - Fixed crash when closing the main GUI while the import/export presets GUI is open
Version: 1.3.0
Date: 13 April 2021
  Features:
    - Added a button to reset the current filter to the default settings
    - Added the ability to search through presets
    - Added the ability to export and import presets
    - Added the ability to reorder presets
  Minor Features:
    - When hovered, item buttons in the current filter now display their item's name and the amount currently in your inventory
    - Item buttons in the current filter now turn green if your inventory has hit the limit for that item
  Gui:
    - Changed the look of the GUI subheaders
  Bugfixes:
    - Fixed a potential minor conflict between different mods' GUI styles
Version: 1.2.0
Date: 4 April 2021
  Features:
    - Added the ability to set item limits (items won't be picked up if your inventory has hit the limit for that item) (whitelist mode only)
  Changes:
    - Items that are already in the current filter can no longer be added to the filter again
  Gui:
    - Rebuilt the item selection window to allow for setting item limits
    - Minor consistency improvements
  Other:
    - Major internal refactoring
Version: 1.1.0
Date: 5 March 2021
  Major Features:
    - Added the ability to save and load presets
  Features:
    - Added the ability to take items from inserters
  Gui:
    - Set the GUI height to a fixed value
    - Added a scroll pane to allow access to all item selections
    - Moved the enabled/disabled switch to be separate from current filter settings
    - Improved header row look
  Other:
    - Misc. code improvements
    - Internal renaming/refactoring
Version: 1.0.1
Date: 23 December 2020
  Graphics:
    - Updated thumbnail
Version: 1.0.0
Date: 22 December 2020
  Major Features:
    - Mod released