The landscape of resource gathering in Minecraft has undergone dramatic shifts over the last few years. One of the most significant casualties of these updates was the classic AFK (Away From Keyboard) fish farm. For a long time, a single bucket of water, a tripwire, and a metal door were all you needed to accumulate chests full of enchanted books and nautilus shells while you slept. However, starting with the 1.16 update and continuing into the latest 1.21 patches, Mojang implemented "Open Water" rules that effectively nerfed these compact designs.

This does not mean automatic fishing is dead. It simply means the engineering has evolved. To build a successful automatic fisher today, you must understand the distinction between farming for experience points (XP) and farming for treasure loot.

Understanding the Open Water Mechanic in Modern Minecraft

Before placing a single block, it is essential to understand why old designs "failed." In the current version of Minecraft (1.21), the game performs a check the moment a fish bites. To qualify for the "Treasure" loot table—which includes enchanted books, saddles, bows, and name tags—the fishing bobber must be in what the game defines as "Open Water."

Open Water is defined as a 5x5x4 area around the bobber. Specifically, every block in a 5x5 horizontal grid centered on the bobber, and 2 blocks deep plus 2 blocks above (including the water surface), must be either air or water. If there are any solid blocks, lily pads (which are treated as surface cover), or even underwater plants that don't meet the criteria within this zone, you will only catch "Fish" or "Junk" categories.

For players who only need XP and a steady supply of raw cod or salmon for villager trading, a compact farm is still the most efficient choice. For those seeking the elusive Mending book, a more complex "Open Water" design is required.

Building the Classic Compact AFK Fish Farm for XP and Food

The compact design remains a staple for early-game survival. It is cheap, takes up minimal space, and can be built within the first ten minutes of a new world. This design relies on the interaction between a Note Block and an Iron Trapdoor to keep the player in a continuous casting loop.

Required Materials

  • Chests (2): To create a large chest for storage.
  • Hopper (1): To collect items from the water.
  • Fence Post (1): Any wood type will work.
  • Iron Pressure Plate (1): Must be iron to interact correctly with the entity detection.
  • Water Bucket (1): The source of the fishing environment.
  • Note Block (1): This prevents the player from accidentally reeling in the rod while holding down the right-click button.
  • Iron Trapdoor (1): To create the mechanical gate for the bobber.
  • Solid Building Block (1): Any block (stone, dirt, wood) to place above the Note Block.

Step-by-Step Construction Guide

  1. Establishing the Collection Base: Dig a small hole (two blocks long) and place your two chests to form a large chest. Attached to the back of the chest, place a hopper while sneaking so it feeds directly into the storage.
  2. Setting the Fishing Spot: Place a single fence post directly on top of the hopper. Surround three sides of the fence post with solid blocks if you wish to contain the water, but the critical part is placing the water bucket directly on the fence post so it becomes a waterlogged block.
  3. The Mechanical Interface: Place the Note Block one block away from the fence post, directly in line with your character's standing position. On top of the Note Block, place your solid building block.
  4. Installing the Trapdoor: Attach the Iron Trapdoor to the bottom half of the solid block above the Note Block. It should be hanging over the waterlogged fence.
  5. Adding the Trigger: Place the Iron Pressure Plate on top of the waterlogged fence post.

How to Use the Compact Farm

To operate this farm, you must stand on the chest or a block immediately adjacent to the water. Aim your fishing rod at the Iron Trapdoor. When you hold down the right-click button (or use a method to keep it pressed), the following cycle occurs:

  • The rod casts, and the bobber lands in the water.
  • Because you are aiming at the trapdoor, the bobber's presence on the pressure plate triggers the trapdoor to flip up.
  • Your "right-click" input is now hitting the Note Block instead of the water. The Note Block absorbs the input without reeling in the rod.
  • When a fish bites, the bobber sinks, the pressure plate deactivates, and the trapdoor falls.
  • The instant the trapdoor falls, your right-click input catches the fish, and the rod immediately recasts.

Scaling Up for Treasure: The Open Water Sculk Design

If your goal is to obtain Mending books or Enchanted Golden Apples (via loot tables), the compact farm will fail you. You need a design that satisfies the 5x5x4 water requirement. This is significantly harder to automate because you cannot use the "Note Block/Trapdoor" trick in a large body of water easily.

In version 1.21, the most effective way to automate treasure fishing is by using a Sculk Sensor. This block, introduced in the Deep Dark, can detect the vibration of a bobber splashing when a fish bites.

The Sculk Sensor Logic

  1. The Water Reservoir: You must build a 5x5 pool that is 2 blocks deep. The bobber should land exactly in the center block.
  2. Detection: A Sculk Sensor is placed nearby (within 8 blocks) but isolated so it only "hears" the water splash. You can use wool blocks to dampen other sounds like your own movement or nearby mobs.
  3. The Pulse: When the sensor detects a splash, it sends a Redstone signal.
  4. The Action: The Redstone signal must be routed to a piston or a trapdoor that forces your character to reel in.

This design usually requires a specific standing position where your crosshair moves slightly between casting and reeling, often achieved by being pushed by a piston or using a "fishing cabin" design where the vibration triggers a temporary block update.

Why use Sculk Sensors?

Unlike the compact design which relies on physical pressure, the Sculk Sensor reacts to the event of the fish biting. In my testing during the 1.21 snapshot phase, I found that placing a Sculk Sensor exactly four blocks below the central water block, surrounded by wool except for the top face, provided the most consistent detection rate without being triggered by ambient cave sounds.

The "God Rod": Maximizing Your Catch Efficiency

Regardless of which farm design you choose, the output is only as good as the tool you use. A standard fishing rod is a waste of time for AFK farming. You need to craft what the community calls a "God Rod."

Essential Enchantments

  • Lure III: This is the most important enchantment for speed. Each level reduces the wait time for a bite by 5 seconds. With Lure III, the maximum wait time is reduced from 30 seconds to 15 seconds, and many bites will occur almost instantly.
  • Luck of the Sea III: Essential for treasure hunters. It increases the chance of catching "Treasure" items while decreasing the chance of "Junk" and "Fish." Even in a compact farm (which blocks treasure), this increases the value of the junk you do get (like saddles or better rods).
  • Unbreaking III: Fishing consumes durability quickly. Unbreaking gives the rod a chance to not take damage when used.
  • Mending I: This is the "infinite" factor. Since fishing provides experience orbs, and those orbs go directly to the player, a rod with Mending will repair itself every time you catch a fish. A Mending rod effectively never breaks as long as you are catching things.

Pro Tip for Starting Out

If you don't have these enchantments yet, don't worry. Start fishing manually or with a basic AFK farm. Fishing loot tables actually include enchanted fishing rods. Quite often, you will catch a rod that already has Lure II or Unbreaking III. You can combine these in an anvil to build your perfect rod without ever touching an enchantment table.

Software-Based Automation: Mods and Scripts

For players on the Java Edition, the "mechanical" part of AFK fishing (holding down the right-click button) is often the most annoying. While you can use the "F3+T" trick (holding right-click and pressing F3+T to reload textures, then releasing the button during the reload), it can be finicky.

Fabric Mods

In the 1.21 modding scene, the Auto-Fisher (Fabric) mod is a popular choice. Unlike a Redstone farm, this is a client-side mod that detects the "caught fish" flag in the game code.

  • Advantages: It can automatically switch to a new rod when the current one is low on durability and can even be configured to drop junk items like rotten flesh or leather boots automatically.
  • Safety: Most modern mods include "human-like" delays. Instead of reeling in at the exact millisecond a fish bites, they add a random delay of 5-15 ticks to prevent anti-cheat plugins on servers from flagging the behavior.

Python and OpenCV Solutions

For those who prefer not to modify their game files, external scripts using Python and OpenCV (Open Computer Vision) are an alternative. These scripts "watch" the screen for specific visual cues—like the subtitles saying "Fishing Bobber Splashes"—and trigger a mouse click.

  • Setup: You must enable subtitles in the Minecraft accessibility settings. The script looks for the black background of the subtitle box.
  • Versatility: This works even if Mojang changes the Redstone mechanics again, as it relies on the visual output of the game rather than internal physics.

Inventory Management and Long-Term AFK Sessions

A common mistake players make is setting up an AFK farm and leaving for 8 hours, only to realize their inventory filled up with raw cod in 20 minutes, and the rest of the items (like enchanted books) were despawned on the floor.

Designing the Collection System

A single large chest is not enough for a long session. You should implement a "Hopper Pipe" system:

  1. Connect the hopper under your farm to a vertical column of chests.
  2. Use a Sorting System. Since 90% of your catch will be Raw Cod, Raw Salmon, Tropical Fish, and Pufferfish, you can create a simple Redstone sorter to send the fish into a lava pit or a separate "food chest," leaving your main storage open for rare items.
  3. Junk Filtering: Items like leather boots and glass bottles are common. If you aren't using a mod to auto-discard them, ensure your storage is large enough to handle the influx.

How to Make an Automatic Fisher in Minecraft Bedrock Edition?

It is important to address Bedrock Edition (Console, Mobile, Windows 10 Edition) specifically. Unfortunately, the Redstone physics in Bedrock differ from Java. The "Note Block/Trapdoor" trick does not work because the interaction priorities are different.

For Bedrock players, "automatic" fishing usually requires:

  • Auto-clicker apps: Using a third-party app to click the screen every few seconds.
  • Visual-based farms: Some designs use a "moving water" mechanic where the bobber is pushed into a tripwire, but these are notoriously unreliable and often get patched. If you are on Bedrock, your best bet is a manual "Open Water" lake with a Luck of the Sea III rod to maximize the value of the time you spend clicking.

Troubleshooting Common AFK Farm Issues

"My rod keeps reeling in immediately without a fish!"

This usually happens if your crosshair is slightly off. In the compact design, you must aim at the very edge of the Iron Trapdoor. If you aim too low, you hit the water; too high, and you hit the solid block. Find the "sweet spot" where the trapdoor is the only thing the cursor interacts with.

"I’ve been fishing for hours and haven't seen a single Enchanted Book."

Check your water volume. If you are using a compact farm, you are statistically locked out of treasure loot in versions 1.16 through 1.21. You will need to move your setup to a 5x5x4 open water source and switch to a Sculk Sensor or a manual-assisted design.

"The trapdoor won't stay open."

Ensure you are using an Iron Pressure Plate. Wooden or Stone pressure plates have different weights and reset times. Also, check if there is a Redstone signal interfering from a nearby torch or machine.

Frequently Asked Questions (FAQ)

What is the best version of Minecraft for AFK fishing?

Technically, version 1.15.2 was the peak of AFK fishing, as it allowed treasure loot in 1x1 holes. However, for modern players, 1.21 is perfectly viable if you use the Sculk Sensor method.

Can I get Mending from a compact AFK fish farm?

No. Mending books are considered "Treasure." In 1.21, you can only catch them in "Open Water." You can, however, catch "Junk" items like leather and sticks in a compact farm.

Is AFK fishing considered cheating?

This depends on the server. In single-player, it is a legitimate use of game mechanics. On multiplayer servers, some administrators ban AFK farms because they can cause lag or devalue the economy. Always check the server rules (/rules) before building one.

Does the weather affect AFK fishing?

Yes! Fishing in the rain increases the rate of bites by approximately 20%. If your farm is open to the sky (which is required for the Open Water rule anyway), you will see a significant boost in efficiency during thunderstorms.

How do I stop my inventory from filling up with junk?

If you aren't using mods, the best way is to build a Redstone item sorter. You can set it to filter out specific items like "Raw Cod" and "String" into a secondary chest or a disposal unit.

Summary of AFK Fishing in 1.21

While Mojang has certainly made it more difficult to automate the collection of high-tier loot, the community has adapted. For those looking for a quick boost in experience and food, the Note Block and Iron Trapdoor compact design remains the undisputed king of efficiency. For the veteran player seeking to automate the acquisition of enchanted books, the transition to Sculk Sensor-based Open Water farms is the necessary next step.

By combining the right mechanical build with a "God Rod" (Lure III, Luck of the Sea III, Mending, and Unbreaking III), you can transform a simple pond into a powerhouse of resource generation. Whether you use Redstone ingenuity or client-side mods, automatic fishing remains one of the most rewarding projects a Minecraft player can undertake.