Filter
The item component variant to make a filter slot
A filter slot is a slot that can be set to a specific item by clicking on it with the item.
The items won't be placed in the slot and will remain in the player inventory, instead the slot will display a ghost (transparent) version of the item.
Clicking the slot with an empty mouse cursor will clear it.
The "mode" property of a filter item component doesn't matter.
ID
"variant": "filter"
Accepted items
Any items that match the filter defined in the item component "filter" property.
Example
{
"type": "custommachinery:item",
"id": "filter1",
"variant": "custommachinery:filter"
}
Last updated