

This modification enhances hoppers by implementing an advanced item filtering system based on regular expressions. To set filtering conditions, simply assign an appropriate name to the hopper using an anvil – the interpreter will automatically recognize valid regular expressions. Such a hopper will only process items whose names match the specified pattern, blocking the transfer of unsuitable objects both on input and output.