maximmasiutin / Minecraft-Bot

Minecraft Farming/Carpeting bot that uses the MineFlayer library and can plant/harvest wheat and fill surface with white carpets

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Minecraft Farming/Carpeting Bot

Version 1.0

Copyright (C) 2023 Maxim Masiutin. All rights reserved.

This is a very simple bot that demonstrates the use of the mineflayer library.

Watch Demos

Prerequisites

npm init
npm install --save mineflayer
npm install --save mineflayer-pathfinder

Run The Bot

  • node minecraft-bot.js <username> <server-version> <server-ip> <server-port>

Control The Bot

  • the bot is by default in idle mode; whisper a command to the bot; valid commands are:
    • idle (just wave hands occasionally)
    • stop (the same as idle, stop current activity)
    • farm (plant/harvest wheat)
    • carpet (fill surface with white carpets)

For example, if your bot has username "Glomik", use in Minecraft "/tell Glomik farm"

License

This program is distributed under the terms of GNU GPL v3.

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

About

Minecraft Farming/Carpeting bot that uses the MineFlayer library and can plant/harvest wheat and fill surface with white carpets

License:GNU General Public License v3.0


Languages

Language:JavaScript 99.8%Language:Batchfile 0.2%