Minecraft Auto Craft Bot is a bot developed using Mineflayer library that can be used to automate certain tasks in Minecraft.
- Craft items automatically using a recipe.
- Interact with various types of objects, including chests
- 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.
- Node.js 12 or higher.
- A Minecraft account with a paid copy of the game.
- A Minecraft server to connect to.
- Clone the repository to your local machine.
git clone https://github.com/HKS-HNS/auto-craft-bot.git
- Navigate to the project directory:
cd auto-craft-bot
- Install the dependencies.
npm install
- Add credentials in
craftbot.js
and specify what and where to craft incrafter.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 |
- Start the bot
node .\craftbot.js