====== AutoEat ======
"AutoFood" redirects here. For the hack that automatically gives food to animals, see [[FeedAura]].
^ AutoEat ^^
|{{ hack:auto:autoeat.webp?500x438 |AutoEat and its settings in ClickGUI.}}||
^Type|[[:Hack]]|
^Category|[[Items]]|
^In-game description|"Automatically eats food when necessary."|
^[[:keybinds#default_keybinds|Default keybind]]|none|
^Source code|[[w7src>net/wurstclient/hacks/AutoEatHack.java]]|
AutoEat is a Minecraft hack that makes the player consume [[mc>food]] items automatically.
===== Settings =====
==== Target hunger ====
^ Target hunger ^^
^Type|Slider|
^In-game description|"Tries to keep the hunger bar at or above this level, but only if it doesn't waste any hunger points."|
^Default value|10 (:food::food::food::food::food::food::food::food::food::food:)|
^Minimum|0 (:empty_food::empty_food::empty_food::empty_food::empty_food::empty_food::empty_food::empty_food::empty_food::empty_food:)|
^Maximum|10 (:food::food::food::food::food::food::food::food::food::food:)|
^Increment|0.5 (:half_food:)|
==== Min hunger ====
^ Min hunger ^^
^Type|Slider|
^In-game description|"Always keeps the hunger bar at or above this level, even if it wastes some hunger points.\\ 6.5 - Cannot cause any waste with vanilla food items.\\ 10.0 - Completely ignores waste and just keeps the hunger bar full."|
^Default value|6.5 (:empty_food::empty_food::empty_food::half_food::food::food::food::food::food::food:)|
^Minimum|0 (:empty_food::empty_food::empty_food::empty_food::empty_food::empty_food::empty_food::empty_food::empty_food::empty_food:)|
^Maximum|10 (:food::food::food::food::food::food::food::food::food::food:)|
^Increment|0.5 (:half_food:)|
==== Injured hunger ====
^ Injured hunger ^^
^Type|Slider|
^In-game description|"Fills the hunger bar to at least this level when you are injured, even if it wastes some hunger points.\\ 10.0 - fastest healing\\ 9.0 - slowest healing\\ <9.0 - no healing\\ <3.5 - no sprinting"|
^Default value|10 (:food::food::food::food::food::food::food::food::food::food:)|
^Minimum|0 (:empty_food::empty_food::empty_food::empty_food::empty_food::empty_food::empty_food::empty_food::empty_food::empty_food:)|
^Maximum|10 (:food::food::food::food::food::food::food::food::food::food:)|
^Increment|0.5 (:half_food:)|
==== Injury threshold ====
^ Injury threshold ^^
^Type|Slider|
^In-game description|"Prevents small injuries from wasting all your food. AutoEat will only consider you injured if you have lost at least this number of hearts."|
^Default value|1.5 (:heart::half_heart: below max health, which is usually :heart::heart::heart::heart::heart::heart::heart::heart::half_heart::empty_heart:)|
^Minimum|0.5 (:half_heart: below max health, which is usually :heart::heart::heart::heart::heart::heart::heart::heart::heart::half_heart:)|
^Maximum|10 (:heart::heart::heart::heart::heart::heart::heart::heart::heart::heart: below max health, which is usually :empty_heart::empty_heart::empty_heart::empty_heart::empty_heart::empty_heart::empty_heart::empty_heart::empty_heart::empty_heart:)|
^Increment|0.5 (:half_heart:)|
==== Take items from ====
^ Take items from ^^
^Type|Enum|
^In-game description|"Where AutoEat should look for food."|
^Default value|Hotbar|
^Possible values|Hands, Hotbar, Inventory|
==== Allow offhand ====
^ Allow offhand ^^
^Type|Checkbox|
^In-game description|(none)|
^Default value|checked|
"Allow offhand" controls whether or not AutoEat can eat food in the [[mc>offhand]] slot.
==== Eat while walking ====
^ Eat while walking ^^
^Type|Checkbox|
^In-game description|"Slows you down, not recommended."|
^Default value|not checked|
==== Allow hunger effect ====
^ Allow hunger effect ^^
^Type|Checkbox|
^In-game description|"Rotten flesh applies a harmless 'hunger' effect.\\ It is safe to eat and useful as emergency food."|
^Default value|checked|
Controls whether or not AutoEat can eat [[mc>rotten flesh]].
==== Allow poison effect ====
^ Allow poison effect ^^
^Type|Checkbox|
^In-game description|"Poisoned food applies damage over time.\\ Not recommended."|
^Default value|not checked|
Controls whether or not AutoEat can eat [[mc>spider eyes]] and [[mc>Pufferfish_(item)|pufferfish]].
==== Allow chorus fruit ====
^ Allow chorus fruit ^^
^Type|Checkbox|
^In-game description|"Eating chorus fruit teleports you to a random location.\\ Not recommended."|
^Default value|not checked|
Controls whether or not AutoEat can eat [[mc>chorus fruits]].
==== Removed Settings ====
Removed settings no longer exist in current versions of Wurst.
=== Prefer food with ===
^ Prefer food with ^^
^Type|Enum|
^In-game description|(none)|
^Default value|High Saturation|
^Possible values|High Food Points, High Saturation, Low Food Points, Low Saturation|
Controls whether AutoEat will prioritize [[mc>Food#Hunger_and_saturation|hunger or saturation]]. The priority can also be reversed by selecting one of the "Low" options, so that the weakest food items will be consumed first.
===== Changes =====
^Version^Changes^
|[[update:Wurst 1.10]]|Added AutoEat.|
|[[update:Wurst 2.24]] (Minecraft 1.8),\\ [[update:Wurst 5.3]] (Minecraft 1.11+),\\ [[update:Wurst 6.0]] (Minecraft 1.10 & 1.9)|Added an "Ignore screen" checkbox in AutoEat.|
|:::|AutoEat will no longer open containers, trade with villagers or feed pets when trying to eat.|
|[[update:Wurst 6.8]]|Fixed AutoEat right-clicking on crafting tables when trying to eat.|
|[[update:Wurst 7.0pre1]]|Temporarily removed AutoEat.|
|[[update:Wurst 7.0pre24]]|Re-added AutoEat.|
|[[update:Wurst 6.32]] (Minecraft 1.8 & 1.12),\\ [[update:Wurst 7.0pre24]] (Minecraft 1.14+)|Added an "[[#Eat while walking]]" checkbox to AutoEat.|
|:::|Added a "[[#Prefer food with]]" setting to AutoEat.|
|:::|Added an "[[#Allow hunger effect]]" checkbox to AutoEat.|
|:::|Added an "[[#Allow poison effect]]" checkbox to AutoEat.|
|:::|Added an "[[#Allow chorus fruit]]" checkbox to AutoEat.|
|:::|Improved AutoEat's search tags.|
|:::|Changed the [[category]] of AutoEat from "Other" to "Items".|
|:::|Removed AutoEat's "Ignore screen" checkbox.|
|[[update:Wurst 7.23]]|Added a "[[#Target hunger]]" setting to AutoEat.|
|:::|Added a "[[#Min hunger]]" setting to AutoEat.|
|:::|Added an "[[#Injured hunger]]" setting to AutoEat.|
|:::|Added an "[[#Injury threshold]]" setting to AutoEat.|
|:::|Added a "[[#Take items from]]" setting to AutoEat.|
|:::|Added an "[[#Allow offhand]]" setting to AutoEat.|
|:::|Removed the "[[#Prefer food with]]" setting in AutoEat, since it would no longer work as expected with the new algorithm.|