food that gives you effects from other mods when eaten

Started by Inlightcreeper_modz on

Topic category: Help with modding (Java Edition)

Last seen on 20:34, 13. Nov 2022
Joined May 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
food that gives you effects from other mods when eaten

I´m making an addon for Farmers Delight. The mod I´m making the addon for has a effect called "nourishment" or according to its ID "nourished".

I was making a food item which should give you this effect but I got stuck. I was thinking about making a procedure and editing the code, but the was no ID. There was only the effect name which I wanted to replace in all caps.

any help?

Last seen on 17:59, 17. Mar 2023
Joined Feb 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I tried doing something…
Sat, 02/11/2023 - 08:46

I tried doing something simular and I think that you could make an effect with the same id and name but that doesn't do anything. I don't know if this works though, it could just end up being non-compatible with farmer's delight but I hope it helps