Can I make an item that is a food and is throwable (ranged item)

Started by mrgwbland on

Topic category: Help with modding (Java Edition)

Last seen on 22:18, 7. Feb 2022
Joined Oct 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Can I make an item that is a food and is throwable (ranged item)

I understand how to make  a throwable item (like an egg) however I want it to also be an eatable item and to still drop after being thrown, a bit like pressing q to drop but with a lot more range.

Last seen on 02:58, 20. Apr 2024
Joined Aug 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I couldn't find a way to…
Mon, 04/20/2020 - 17:43

I couldn't find a way to make a ranged item edible. You could make it so the ranged item when used to heal, damage, or give an effect to the player such as regeneration. Hope this helps