Filtering Behaviour

This device is attached to any existing Smart Block Entity with the Filtering Behaviour. This includes the likes of the Smart Chute and the Smart Fluid Pipe.

This is an example of how to access the device.

local d = require("devices")
local filter = d:find("filtering")
print(filter:getFilter())

Custom Implementations

API

Device name: filtering

Methods

getFilter():ItemStack
This method gets the current filter item.

setFilter([id: String[, count:number]])
This method sets the filter item.