Minecraft fishing bot made using Mineflayer
- Navigate to a fishing spot
- Send chat message on what it caught
- Store items in a nearby chest
- Sleep when it is night (Only if there are unoccupied beds)
- Go to you, or an (x, y, z) coordinate
To start the bot, the bot must be run with these arguments:
node fisherman.js <prefix> <host> <port> <name> [<password>] [<viewer_port>]
prefix
: the prefix to call your bot.
host
: the IP of the server you want the bot to connect to (can be localhost).
port
: the port of the server you want the bot to connect to.
name
: username to log in to minecraft (can be anything if joining an offline-mode server)
password
(optional): optional if joining a offline-mode server. Password to the minecraft account.
viewer_port
(optional): Port for the viewer. If unset, viewer won't start.
<prefix> start <y_offset>
Goes to the closest body of water and starts fishing. <y_offset>
determines how high the fishermen will aim from the initial water block coordinates.
<prefix> stop
Stops fishing.
<prefix> sleep
Tries to force the fishermen to sleep. They usually sleep automatically.
<prefix> nearwater
Makes the fishermen go near water. Nothing more, nothing less.
<prefix> goto <player>|<x y z>
<player>
can be a player name or me
if you want the bot to go to you.
<prefix> store [all]
Goes to the closest chest and stores the items fished. Add all
argument to store even the fishing rods.
<prefix> follow <player>
Specifies <player>
to follow.
<prefix> unfollow
Unfollows players.
<prefix> rc
Makes the fishermen perform a right click.