Custom food items from behavior packs don't work properly in multiplayer situations.
The Host can consume the item without issue, but any other players cannot. This is not changed by losing hunger.
This is a client-side problem. The other players can see the item being eaten, but the player consuming the item has no visual indication of their actions, and receives no effect from it.
A couple ways I think this could be happening:
- The player who joins doesn't properly acquire the behavior pack (items appear in-game, but functionality is missing.) I don't think this is likely, but worth looking into.
- The non-host player simply doesn't look for the item's functionality (but the server still receives the input, and thinks they're using the item)
- The non-host player doesn't run the behavior pack; rather the server sends it to each player. (so the entities would work fine, as they're server-side, and they get 'broadcasted' to each client. However, the items don't, as their functionality is client-side)
However, I'm not entirely sure what's happening here. Since I know that you should know, here are some addons that are effected by this bug that I tested out recently:
[here|https://mcpedl.com/food-add-on/]
[here|https://mcpedl.com/heart-containers-loz-addon]
[here|https://mcpedl.com/o-foods-add-ons/]
Linked issues
is duplicated by 9
Comments 18
I have this issue happening as well. it was brought to my attention by someone on discord and i asked to send me the addon. i thought that it ws something they had wrong but they didn't. i made a test world and i could eat it but they could not.
Okay. I'm still waiting for that bug to get fixed. Mojang, seriously, it's been nearly a year and you have never fixed a simple bug.
Yeah this bug is not a hard bug to fix but its ruining several addons. Mojang just take like 1 hour out of your day to fix this one simple bug.
This issue is detrimental to many addons even for the marketplace since custom items are now out of experimental. It makes all forms of custom stuff that involve "eating item" as a workaround not work properly on multiplayer. This is a big issue that is likely rather easy to fix and yet has not been done for such a long time.
Mojang pls fix
3000 years later and its still open and unresolved. Come on guys this is hurting bedrock mod community.
Thank you for your report!
However, this issue has been temporarily closed as Awaiting Response
Is this still an issue in the latest version? If so, please add a comment or update the affected version field.
To make your bug report as effective as possible, please try and include the following steps to reproduce the problem:
Steps to Reproduce:
1.
2.
3.Observed Results:
(Briefly describe what happens)Expected Results:
(Briefly describe what should happen)
If your ticket does not look like the example given here, then it's likely to be closed as incomplete.
This ticket will automatically reopen when you reply.
Quick Links:
📓 Issue Guidelines – 💬 Mojang Support – 📧 Suggestions – 📖 Minecraft Wiki
Just had this issue on BDS hosted on Shockbyte as our test server. I created a custom food item. Seems to work great on my Windows 10 laptop. No issues whatsoever. However when I upload the addon to the server and use in world it does not do the eating animation. However the food item does get consumed from inventory and correct eating sounds happen as they should. The item and hand/arm do not move on player. Saturation and hunger bar gets replenished as expected. Server and my laptop are both on 1.18 latest updates. This definitely needs reopened.
"minecraft:use_animation": "eat"
{
"format_version": "1.10.0",
"minecraft:item": {
"description": {
"identifier": "tbp:donut",
"category": "Equipment"
},
"components": {
"minecraft:icon": "donut",
"minecraft:use_animation": "eat",
"minecraft:display_name": "tbp:donut",
"minecraft:creative_category": "itemGroup.name.miscFood",
"minecraft:render_offsets": "potato"
}
}
}
I can confirm that this is an issue. I haven't been able to properly play with my friends on my PvP world for months. We've tried Xbox, PE, Switch and Windows 10 players connecting to my world on Windows 10 and the problem is exactly that-- nobody but the host can eat custom items. Please fix this Mojang, I've already created a post like this a while back before the 1.12.1 bugfix released.
edit- I can also confirm that I was using experimental gameplay. Eating custom items was functional for me and only me.