Yes, you can!
Requires Fabric API and Cloth Config API
About
This mod adds three new trashcans to the game in which you can throw away the resources you don't want. The three variations are: the item trashcan, the fluid trashcan and the energy trashcan. The item trashcan deletes items so be careful what you put into it. The fluid trashcan can remove fluids from buckets and other fluid containers and can also remove fluids pumped into it by pipes or such. Lastly, the energy trashcan can remove energy from chargeable items and also takes care of the energy you no longer want via cables and things like that.
Features
This mod currently has versions for 1.18.2 and 1.19!
It has compatibility with most technology mods but has only had special compatibility added with Tech Reborn and their fluid cells. If there are any mods you want added compatibility with or any issues or bugs, just go to the github issue tracker and send in your thoughts.
Since the mod is under the MIT license you can use it freely in your modpacks so feel free to do so.
90% of ad revenue goes to creators
Support creators and Modrinth ad-free with Modrinth+