This Python script automates fishing in Minecraft, specifically designed for open waters as AFK-fishing became less effective after Version 1.16, which restricted treasure acquisition in closed-off water bodies.
The script captures screenshots of the Minecraft screen, monitoring for the appearance of the "Fishing Bobber splashes" text in the subtitles. Upon detection, the script initiates two right-click actions with a delay, allowing you to reel in loot and cast your fishing rod again.
gui_scale
in config.txt
to the GUI Scale in Minecraft.tar -xvzf autofisher_linux_x64.tar.gz
cd autofisher
./autofisher
The program is running if the console prints out
Searching screen...
autofisher_win_x64.zip
fileInstall python 11.6, if not already installed.
If you are on windows check the box Add python.exe to PATH
in the installer
If you are on Linux make sure to isntall python3-dev
python3 -m venv venv
source venv/bin/activate
pip install pyautogui pynput opencv-python
python3 main.py
python -m venv venv
venv\Scripts\activate
pip install pyautogui pynput opencv-python
python main.py