/Auto-Craft-Bot

Minecraft Auto Craft Bot is a bot developed using Mineflayer library that can be used to automate certain tasks in Minecraft.

Primary LanguageJavaScript

Minecraft Auto Craft Bot

Minecraft Auto Craft Bot is a bot developed using Mineflayer library that can be used to automate certain tasks in Minecraft.

Features

  • Craft items automatically using a recipe.
  • Interact with various types of objects, including chests

Commands

  • Start <min>: is to start and to set the delay between the crafting and the next start.
  • Say <args>: say something or send a command.
  • Quit: ends the script.

Getting Started

Prerequisites

  • Node.js 12 or higher.
  • A Minecraft account with a paid copy of the game.
  • A Minecraft server to connect to.

Installation

  1. Clone the repository to your local machine.
git clone https://github.com/HKS-HNS/auto-craft-bot.git
  1. Navigate to the project directory:
cd auto-craft-bot
  1. Install the dependencies.
npm install
  1. Add credentials in craftbot.js and specify what and where to craft in crafter.Config.js:
 {name: 'gold_block', chest: [964, 65, -34], storeChest: [946, 65, -34], crafting: true},
 {name: 'iron_block', chest: [967, 65, -34], storeChest: [948, 65, -34], crafting: true}
Variable What they stand for
chest Where the materials are
storeChest Where to store them
  1. Start the bot
node .\craftbot.js