1.0.4 • Published 6 months ago

mineflayer-eat v1.0.4

Weekly downloads
-
License
MIT
Repository
-
Last release
6 months ago

How to install

npm i mineflayer-eat

example code:

const mineflayer = require('mineflayer');
const Food = require('mineflayer-eat');  // Import the mineflayer-totem package

// Create the bot
const bot = mineflayer.createBot({
  host: 'localhost',  // Replace with your server's IP or hostname
  port: 25565,        // Replace with your server's port
  username: 'Bot',    // Replace with your bot's username
  auth: 'microsoft',  // Authentication type
});

// Initialize the Food module
const FoodModule = new Food(bot, 'foodlist.txt'); // Use a different variable name to avoid conflicts

my github

https://github.com/GamerMrAlros/mineflayer-eat

My https://www.npmjs.com/~fourterms2

1.0.4

6 months ago

1.0.3

6 months ago

1.0.2

6 months ago

1.0.1

7 months ago

1.0.0

7 months ago