Fish farming is an easy method of catching large quantities of fish and other items by fishing. Most AFK designs involve right-clicking an iron door with tripwire above it, causing fish caught to flow into a hopper and then into a collection chest.
AFK Automatic Fish Farming
Automatic fish farming involves right-clicking a door with tripwire above it and hoppers for collection. Its a good idea to use an automatic fishing rod dropper to supply new fishing rods when the previous one breaks. The ideal rod is Lure 3, Luck of the Sea 3, Unbreaking 3 and Mending. Enchanted rods drop from AFK fishing so this isn't hard to get.
It also helps explain the mechanics of AFK fish farms.
This design uses an Iron Trapdoor instead of a door.
To use an AFK fish farm, the player will have to hold down the right-click button. When the rod is cast, it will trigger the tripwire, opening an iron door. When a fish is caught, the bobber will suddenly drop down, thus closing the door and breaking the line. This forced the rod to reel in whatever was caught. Beyond the iron door, there is a note block to absorb all the other right-clicks that don’t result in anything.
Semi-automatic fish farming (not designed for AFK)
Semi-automatic fish farms involve detecting the fishing rod using tripwire to close a door while fishing, improving fishing rates. The next video is an example:
This is a basic design using hoppers to automatically collect fish while being very quick and simple to build.