{"repo":"linkle69/mineflayer-auto-eat","free":true,"listed":false,"github":"https://github.com/linkle69/mineflayer-auto-eat","clone":"git clone https://github.com/linkle69/mineflayer-auto-eat.git","description":"Auto eat plugin for mineflayer","language":"TypeScript","stars":50,"topics":["javascript","minecraft","mineflayer","typescript"],"license":"MIT","category":"game-templates","readme_excerpt":"mineflayer-auto-eat A customizable and flexible auto-eat utility plugin for Mineflayer bots Table of Contents - Table of Contents - Install - Example - API - Properties - bot.autoEat.enabled - bot.autoEat.isEating - bot.autoEat.opts - bot.autoEat.foods - bot.autoEat.foodsArray - bot.autoEat.foodsByName - Methods - bot.autoEat.setOpts(opts: Partial\\ ) - bot.autoEat.eat(opts: EatOptions) - bot.autoEat.enableAuto() - bot.autoEat.disableAuto() - bot.autoEat.cancelEat() - Settings - IEatUtilOpts - EatOpts - Events - Authors - Show your support Install Warning : This package is ESM only and does not support CommonJS. Example Run this with node .js [host] [port] [username] [auth] . API Properties bot.autoEat.enabled Boolean value indicating whether the auto-eat utility is enabled or disabled. bot.autoEat.isEating Boolean value indicating whether the bot is currently eating or not. This value should not be manually set. bot.autoEat.opts This object holds the configurable options for the auto-eat utility. bot.autoEat.foods Returns the foods registry from the bot, which contains all food-related information from the Minecraft data. bot.autoEat.foodsArray Returns an array of all available foods in Minecraft from the bot's registry. bot.autoEat.foodsByName Returns an object mapping food item names to their properties (e.g., saturation, foodPoints). Methods bot.autoEat.setOpts(opts: Partial\\ ) Allows you to modify the configuration options for the auto-eat utility dynamically. bot.autoEat","default_branch":null,"files":null,"tree":[],"storefront":"/r/linkle69","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/linkle69/mineflayer-auto-eat/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}