mojira.dev
MCPE-62109

Custom food items not using proper animations and properties

Using custom items does not properly show the eating sounds nor does eating the custom item slow A GUEST player down in a world. All custom food addons I was able to find on mcpedl.com, even ones I made only properly show the eating sounds and slow you (the host) down when eating the custom food item, but the same is not true for anybody who downloads the pack when they join your world.

Linked issues

Comments 10

Do you have an example of a specific add-on function or pack that isn't working?

Do you have an example of a specific add-on function or pack that isn't working?

These two are the 3rd party ones I tested. Again, they only work fine for the host. Unless both of these happen to be missing a component, I would still think this is a bug.

 https://mcpedl.com/manyfoods-addon/

https://mcpedl.com/more-food-addon/?cookie_check=1

These two are the 3rd party ones I tested. Again, they only work fine for the host. Unless both of these happen to be missing a component, I would still think this is a bug.

 https://mcpedl.com/manyfoods-addon/

https://mcpedl.com/more-food-addon/?cookie_check=1

Do you have the animation component in the item's resource file?

Do you have the animation component in the item's resource file?

...yes. Otherwise (in theory) it shouldn't have functioned properly for the host. Ill paste the components for a the same food item below:

BP:

{
"format_version": "1.10",
"minecraft:item": {
"description":

{ "identifier": "morefood:bacon" }

,

"components": {
"minecraft:use_duration": 32,
"minecraft:max_stack_size": 64,
"minecraft:food":

{ "nutrition": 4, "saturation_modifier": "low" }

}
}
}

 

RP:

 

{
"format_version": "1.10",
"minecraft:item": {
"description":

{ "identifier": "morefood:bacon", "category": "Equipment" }

,

"components":

{ "minecraft:icon": "bacon", "minecraft:use_animation": "eat", "minecraft:render_offsets": "apple" }

}
}

 

The formatting of the curly brackets and tabs was messed up upon pasting, so those are negligible in context of the function. You can also download the MoreFood addon from the link I provided, open the file as a zip and the json files in notepad to view them yourself with proper formatting.

...yes. Otherwise (in theory) it shouldn't have functioned properly for the host. Ill paste the components for a the same food item below:

BP:

{
"format_version": "1.10",
"minecraft:item": {
"description":

{ "identifier": "morefood:bacon" }

,

"components": {
"minecraft:use_duration": 32,
"minecraft:max_stack_size": 64,
"minecraft:food":

{ "nutrition": 4, "saturation_modifier": "low" }

}
}
}

 

RP:

 

{
"format_version": "1.10",
"minecraft:item": {
"description":

{ "identifier": "morefood:bacon", "category": "Equipment" }

,

"components":

{ "minecraft:icon": "bacon", "minecraft:use_animation": "eat", "minecraft:render_offsets": "apple" }

}
}

 

The formatting of the curly brackets and tabs was messed up upon pasting, so those are negligible in context of the function. You can also download the MoreFood addon from the link I provided, open the file as a zip and the json files in notepad to view them yourself with proper formatting.

Thank you for your report!
We're actually already tracking this issue at MCPE-51610, so we will resolve and link this ticket as a duplicate.

If you would like to add a vote and any extra information to the main ticket it would be appreciated.

If you haven't already, you might like to make use of the search feature, to see if the issue has already been mentioned.

Quick Links:
📓 Issue Guidelines – 💬 Mojang Support – 📧 Suggestions – 📖 Minecraft Wiki

Thank you for your report!
We're actually already tracking this issue at MCPE-51610, so we will resolve and link this ticket as a duplicate.

If you would like to add a vote and any extra information to the main ticket it would be appreciated.

If you haven't already, you might like to make use of the search feature, to see if the issue has already been mentioned.

Quick Links:
📓 Issue Guidelines – 💬 Mojang Support – 📧 Suggestions – 📖 Minecraft Wiki

user-6d71e

ambient

(Unassigned)

Unconfirmed

Windows

windows 10

1.14.1 Hotfix

Retrieved