food that gives you effects from other mods when eaten

Started by Inlightcreeper_modz on Wed, 08/10/2022 - 01:01

Topic category: Help with modding (Java Edition)

Last seen on 12:01, 5. Sep 2022
Joined May 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
food that gives you effects from other mods when eaten
Wed, 08/10/2022 - 01:01

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?