Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
link-discord committed Jun 1, 2024
1 parent 18841c4 commit 7772328
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
- [bot.autoEat.options](#botautoeatoptions)
- [bot.autoEat.options.priority](#botautoeatoptionspriority)
- [bot.autoEat.options.startAt](#botautoeatoptionsstartat)
- [bot.autoEat.options.healthThreshold](#botautoeatoptionshealththreshold)
- [bot.autoEat.options.bannedFood](#botautoeatoptionsbannedfood)
- [bot.autoEat.options.ignoreInventoryCheck](#botautoeatoptionsignoreinventorycheck)
- [bot.autoEat.options.checkOnItemPickup](#botautoeatoptionscheckonitempickup)
Expand Down Expand Up @@ -88,24 +89,29 @@ Example

```js
bot.once('spawn', () => {
bot.autoEat.options.priority = 'foodPoints'
bot.autoEat.options.priority = 'auto'
bot.autoEat.options.startAt = 14
bot.autoEat.options.bannedFood.push('golden_apple')
})
```

#### bot.autoEat.options.priority

Acceptable Values are "saturation" or "foodPoints"
Acceptable Values are "saturation", "foodPoints" or "auto"

default: "saturation"
default: "auto"

#### bot.autoEat.options.startAt

If the bot has less or equal food points than this value, the bot will start eating

default: 16

#### bot.autoEat.options.healthThreshold

If the bot has less or equal health than this value and the bots priority is set to "auto",
the bot will prioritize eating food with the highest saturation value and it will temporarily set startAt to 19

#### bot.autoEat.options.bannedFood

The bot will not eat the items in the array.
Expand Down

0 comments on commit 7772328

Please sign in to comment.