https://github.com/blankeos/mc-fisher
🎣 A Computer Vision-based Auto-Fishing Bot for Minecraft
https://github.com/blankeos/mc-fisher
Last synced: 11 months ago
JSON representation
🎣 A Computer Vision-based Auto-Fishing Bot for Minecraft
- Host: GitHub
- URL: https://github.com/blankeos/mc-fisher
- Owner: Blankeos
- Created: 2023-06-15T10:18:45.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2023-06-15T13:27:35.000Z (about 3 years ago)
- Last Synced: 2025-04-07T03:54:50.078Z (about 1 year ago)
- Language: Python
- Size: 2.12 MB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 🎣 McFisher
A computer vision-based **auto-fishing bot for Minecraft**. This is more of a learning project rather than for cheating. As this is a computer vision-based bot, this does not install any invasive mods into your Minecraft client, it rather acts like an actual person simulating the same inputs you make from seeing what happens in the game. Not promoting cheating in public servers, I personally use this in our private SMP server.
I used OpenCV + PyAutoGUI
I tried out several prototypes of drawing on top the screen with click-through. Pygame works the best (see examples/pgame.py). Eventually settled for OpenCV just for ease of implementation.
### Get Started
1. Make sure you have MINECRAFT opened already!
1. Open the application
1. Put the application aside, put your window's focus on Minecraft.
1. Align the greenbox on the **Fishing Bob**
1. Press **[Left Ctrl]** to get started, tracking will then start.
### How to Quit
1. Focus on the application window (Not Minecraft)
2. Press **[Q]**
### How to Restart
1. You can press and hold **[Left Ctrl]** anytime you want to reset the tracking
---
> Notes on bundling the application:
>
> ```
> pyinstaller --onefile --noconsole --icon=mcfisher.ico main.py
> ```