Factorio.com|Forums|Wiki|Mod Portal|API Docs

# Factorio Runtime Docs Version 2.0.77

# InfinityInventoryFilter - Runtime Docs

## InfinityInventoryFilter :: table

A single filter used by an infinity-filters instance.

#### Table fields

name | :: ItemID | Name of the item. When reading a filter, this is a string.
Name of the item. When reading a filter, this is a string.
quality | :: QualityID? | Quality of the item. Defaults to `"normal"`. When reading a filter, this is a string.
Quality of the item. Defaults to `"normal"`. When reading a filter, this is a string.
count | :: ItemCountType? | The count of the filter. Defaults to 0.
The count of the filter. Defaults to 0.
mode | :: `"at-least"` or `"at-most"` or `"exactly"`? | Defaults to `"at-least"`.
Defaults to `"at-least"`.
index | :: uint32? | The index of this filter in the filters list. Not required when writing a filter.
The index of this filter in the filters list. Not required when writing a filter.

Concept used in

- LuaEntity::get_infinity_container_filter()
- LuaEntity::set_infinity_container_filter()
- LuaEntity::infinity_container_filters
- LuaPlayer::get_infinity_inventory_filter()
- LuaPlayer::set_infinity_inventory_filter()
- LuaPlayer::infinity_inventory_filters
- BlueprintInfinityInventorySettings