How do i add a potion effect when i eat a raw meat of any kind?

Started by West0nD3v on

Topic category: Help with Minecraft modding (Java Edition)

Joined Nov 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How do i add a potion effect when i eat a raw meat of any kind?

hey so im adding real life elements to my mod and im adding that when you eat any form of raw meat, there is a chance you can get tapeworms which do nothing other than set ur hunger bar down to a very low value, and i can't find anything that will do that, any help?

Joined Dec 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Try something like this. You…
Mon, 12/20/2021 - 01:16

Try something like this. You'd change the "add potion with level" part to add whatever potion effect you'd like with whatever duration you'd like.