@nxg-org/mineflayer-auto-eat
v2.4.1
Published
An auto-eat plugin for mineflayer bots.
Downloads
33
Readme
Lazy readme here.
Look at src/example.ts for basic usage.
If you wish to manually call the eat function, there are three arguments:
- use offhand: boolean | undefined (defaults to false)
- food to eat: Item | md.Food (minecraft-data Food) | undefined (defaults to false)
- The function will use the food specified (Item) or find an equivalent Item in its inventory (md.Food), or pick the best food available (undefined)
- equip old item: boolean | undefined (defaults to false)