henkelmax / pipez

Lag friendly pipes.
44 stars 24 forks source link

Can we filter by item category or RegEx? #176

Closed katieisnell closed 1 year ago

katieisnell commented 1 year ago

Make sure your question hasn't been answered in the FAQ!

In my use case, I would like to have a filter that sends all types of logs to one chest, and all types of planks to another chest, etc. What is the best way to do this with the current filter?

My current thinking is I need to add a filter for every item ID which, whilst possible, will take a long time for my whole setup (so I would like to avoid it if possible).

Bonus question: can we add multiple item IDs to one filter?

henkelmax commented 1 year ago

You can invert filters. What you need to do is create a filter for every destination the pipe goes to.

katieisnell commented 1 year ago

You can invert filters. What you need to do is create a filter for every destination the pipe goes to.

So for example, if I had x chests and I wanted all types of logs to go into chest 1, all types of planks to go into chest 2, and others had filters for the other chests, would I need to add invert filters for logs and planks to every single chest except chest 1 and 2?

Also, can you explain how this is different to adding whitelist filters for logs and planks to chest 1 and chest 2?

henkelmax commented 1 year ago

I think you could do that by inverting all filters and then adding blacklisted filters with the destination