Practical Barrels
About the Modification
Practical Barrels is a fully client-side Minecraft mod built on Fabric that offers an innovative system for sorting barrel contents. In extreme cases, the functionality also extends to other containers with "Barrel" in their name in your language.
Key Features
When interacting with an empty barrel using right-click, the item from your main hand and all similar items from your inventory are automatically placed inside.
If the barrel already contains items of the same type as those in your hand, a simple right-click will instantly transfer all matching items (the inventory window will automatically close).
An additional button in the interface allows you to load all items related to those already inside the barrel at once.
(Starting from version 1.0.4, Modmenu and Cloth Config are required to change the mod's settings in-game.)