GeyserMC / Geyser

A bridge/proxy allowing you to connect to Minecraft: Java Edition servers with Minecraft: Bedrock Edition.
https://geysermc.org
MIT License
4.69k stars 674 forks source link

Eating food animation with full hunger in peaceful mode #2845

Closed pinkpig58 closed 1 month ago

pinkpig58 commented 2 years ago

Describe the bug

The eating animation is displayed when trying to eat with full hunger in peaceful mode

To Reproduce

  1. Set the server to peaceful
  2. Give yourself food
  3. Ensure you have full hunger
  4. Try to eat the food

Expected behaviour

No animation should display when trying to eat the food with full hunger

Screenshots / Videos

https://user-images.githubusercontent.com/41856020/154474847-8b751473-cfdb-4d57-beb9-b6446f38b935.mp4

Server Version and Plugins

No response

Geyser Dump

https://dump.geysermc.org/OyY8R6hlptOA2UmWMrphweufB6VaNUvF

Geyser Version

2.0.1-SNAPSHOT (git-master-31fd57a)

Minecraft: Bedrock Edition Version

1.18.12

Additional Context

No response

AnhNguyenlost13 commented 2 years ago

Can recreate 100% of the time with bread.

Novampr commented 2 years ago

i don't see this as a major bug

onebeastchris commented 1 year ago

Been able to replicate - weird one

onebeastchris commented 1 month ago

This seems to be a Bedrock thing ™️ - even in a singleplayer Bedrock world, it's possible to eat any food item while in peaceful difficulty. Maybe it's possible to work around this by not telling Bedrock clients about the difficulty - it shouldnt even change much as most things are server-side controlled (damage, hunger..)