Trash Cans

Trash Cans

54M Downloads

[Feature] Option to ignore components/NBT data on filters

Harvle opened this issue ยท 1 comments

commented

Is your feature request related to a problem? Please describe.
I'm trying to make a trash system that discards golden swords from a gold farm. However i like to make sure it only discards what i tell it to (rather than just hooking the non-filtered items like gold nuggets and ingots into a lava dispenser), just in case an important item gets accidentally thrown in, it won't get destroyed and i can put it to a rejected chest or something like that.

Describe the solution you'd like
I think a clean solution would be to add a toggle in the whitelist/blacklist option (maybe called like Precise: On/Off) of a trash can to ignore the components/NBT data of the item, such as durability or enchantments, so placing a golden_sword as a whitelist item would discard anything that matches that item ID, no matter what extra data it has such as damage.

commented

I thought I already added a match nbt toggle button, but it seems I only added for the filters in Simple Magnets. Will probably add it when I work on Trash Cans again.