This repository has been archived by the owner on Mar 23, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 76
Autoeat interacts with blocks #56
Labels
bug
Something isn't working
Comments
ghost
changed the title
autoeat opens shulkers/chest when eating
Autoeat interacts with TileEntities
Oct 23, 2018
ghost
changed the title
Autoeat interacts with TileEntities
Autoeat interacts with blocks
Oct 23, 2018
ugly lazy fix idea: send start sneak packet prior and end sneak packet after eating |
I pointed out in my issue a better way to do this would be to tell the game to use the item instead of emulating a right click |
BitBuf
referenced
this issue
in kami-blue/client
Apr 10, 2020
Dew figured out how to fix it, look at the commit if you're interested in the fix :p |
We fixed this in blue, as you can see in the above commit. It looks like this shouldn't happen in Fabric anymore? mc.player.setCurrentHand(Hand.OFF_HAND);
eating = true;
KeyBinding.setKeyPressed(((IKeyBinding) mc.options.keyUse).getBoundKey(), true);
((IMinecraftClient) mc).callDoAttack(); |
I'll test it. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Expected behavior
Eat the food and not interact with e.g shulkers when facing them.
Actual behavior
Repeatedly opens the shulker while trying to eat.
The text was updated successfully, but these errors were encountered: