New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Eating golden apple/drinking potion while the food is full #1251
Comments
Oh? Golden apples can be eaten with full hunger? I knew corus fruit can, but I thought that was the only one. Good to know. Maybe a flag can be added to Minecraft-Data to check if the food can be eaten with full hunger or not. We could just check they flag when eating before throwing the error. |
This should put an err in the callback at worse, not assert
…On Sun, Aug 16, 2020, 12:40 TheDudeFromCI ***@***.***> wrote:
Oh? Golden apples can be eaten with full hunger? I knew corus fruit can,
but I thought that was the only one. Good to know.
Maybe a flag can be added to Minecraft-Data to check if the food can be
eaten with full hunger or not. We could just check they flag when eating
before throwing the error.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#1251 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAR437X4NEE5HYO2MC65UM3SA6ZTBANCNFSM4QAX2JIQ>
.
|
It's actually a callback err, I just logged it to console |
Ok so only thing to change then is improve that if food == 20 condition to
something that works for stuff that can be consumed without food constraint.
…On Sun, Aug 16, 2020, 13:12 TheDudeFromCI ***@***.***> wrote:
Yeah, just confirmed. It is a standard callback error.
[image: Screenshot_20200816-041108.png]
<https://user-images.githubusercontent.com/3118172/90332985-9a889a00-df76-11ea-88bc-c4fecec12a53.png>
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#1251 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAR437TAOWZUVX66OBULOT3SA65IPANCNFSM4QAX2JIQ>
.
|
Yeah, should be pretty simple. Just need to store that data in MC-Data, first. |
Alternatively, to solve this issue, you can already use |
While that's true, it doesn't keep track of eat time like consume does. |
Has there been any progress on this? |
Versions
Detailed description of a problem
The script throws an exception "Error: Food is full" if I'm trying to make bot drink or use potion and the food is full.
Your current code
Expected behavior
Drink/eat everything except food if even the food is full.
The text was updated successfully, but these errors were encountered: