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.
Designs
AFK automatic fish farming
Automatic fish farming involves right-clicking a door with tripwire above it and hoppers for collection, with an automatic fishing rod dropper to supply new fishing rods when the previous one breaks.
1.12+
AFK Fish Farm level 3
North facing repeater is set to 2 ticks (left click once)
South facing repeater is set to 3 ticks (left click twice)
AFK Fish Farm level 4
Place a slab on top of the note block to mute it
I found this design on a HermitCraft video, it is an adaptation of the 2nd video below in the 1.11 section.
It uses a note block rather than a chest to absorb the right clicks. There is a 3 tick delay built in with repeaters to decrease server lag. The collection chest is in the back, so you don't have to stand in an exact spot. It uses an iron trapdoor instead of an iron door to restore catching and casting.
Here is the video, it explains usage as well as a step by step tutorial on how to build it:
1.11
As of Minecraft 1.11, iron doors and trapdoors no longer register the 'use' control, so older designs no longer work. These first designs work with the updated door mechanics.
This is an example of an autmoatic fishing farm that works in 1.11:
It is also possible to eliminate the redstone clock used in most pre-1.11 designs:
This more compact design eliminates redstone completely:
Pre-1.11
The videos below show older designs, that do not work in versions 1.11 or higher.
Most compact fish farm for 1.9:
Automatic fish farm:
This version is more compact:
This next one uses an iron trapdoor instead of an iron door.
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:
Fish collector
This is a basic design using hoppers to automatically collect fish while being very quick and simple to build.