Bug Closed · Resolved

Food component not working on Mythic Items - 1.21.4 - 5.8 build 5326

#6090 opened by Unknown 1 year ago

Unknownreported this bug

Summary

Use wiki example for getting food that's not normally food. Netherite Pops. Cannot be eaten.

Purpur 2381

Minecraft 1.21.4

MM 5.8 build 5326

Log: https://pastebin.com/X5EEk2LW

Picture of /paper dumpitem for Netherite Pops (not sure if it's helpful): https://i.imgur.com/E3vPuPI.png

Netherite Pops:

NetheritePops:
  Material: NETHERITE_SCRAP
  Display: 'Delicious Scraps'
  Food:
    Nutrition: 2
    Saturation: 2
    EatSeconds: 2
    CanAlwaysEat: true

Proposed fixes

There was an update on Dec 18, 2024. Build 5290, where it's mentioned to "use paper food component when on paper". Could be relevant perhaps?

Unknowncommented

Hi, Try this: NetheritePops: Material: BEEF Display: 'Delicious Scraps' Food: Nutrition: 100 Saturation: 100 CanAlwaysEat: true It works for me:D

Unknowncommented

Looks like you have to combine with the consume component to get it to work on items that you cannot already consume. The below Configuration worked. I'll check with Lxlp and see if I can make an edit to the wiki.

Thanks for your comment, AhihiQK

NetheritePops:
  Material: NETHERITE_SCRAP
  Display: 'Delicious Scraps'
  Consumable:
    ConsumeSeconds: 1
    HasParticles: true
    Animation: EAT
  Food:
    Nutrition: 100
    Saturation: 100
    CanAlwaysEat: true
Unknowncommented

Many people love fast meals like cheesy fries, chicken nuggets, soft tacos, and milkshakes with different flavors. Some places also offer breakfast items like pancakes, omelets, or toast with avocado. Now, you can even find places that show details like the first watch menu with prices and calories so you know what you are eating. Some items are heavy, but others are light and healthy. There is something for everyone, whether you want a quick snack or a full meal.

Unknowncommented

Stickman Hook delivers instant fun with its easy-to-learn mechanics and non-stop swinging action.

Sign in to join the discussion.