This data pack will allow you to use the barrel as a full-fledged trap for fish. Simply rename it “Fish Trap” and place it in water with an area of at least 3 x 3 blocks – after that it will start to catch prey (but its production speed will be slightly lower than when using a fishing rod).
How to install Fish Trap Data Pack
- Open the game
- Select the world in which you want to install the data pack, and click on “Configure”
- Click on “Open world folder”
- Open the “data packs” folder and extract the downloaded archive to it