How to make food hurt you

Started by Horsey on

Topic category: Help with modding (Java Edition)

Last seen on 23:48, 8. Jul 2021
Joined Nov 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How to make food hurt you

Im trying to make one of my custom foods hurt you when you eat it, but I have no idea how, and when I tried it gave me error messages.

please help

Last seen on 21:24, 26. Dec 2022
Joined Dec 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Make normal food, probably…
Sun, 11/01/2020 - 18:49

Make normal food, probably not have it restore hunger bars, and for the On Eaten Tick, use the damage procedure from the Entity section.

Make normal food, probably…
Mon, 11/02/2020 - 08:11

Make normal food, probably not have it restore hunger bars, and for the On Eaten Tick, use the damage procedure from the Entity section.

^ This

Also based on this question, I suggest you check our tutorials collection playlist on our YouTube channel which contains many examples and tutorials that can help you get started with MCreator: https://www.youtube.com/playlist?list=PLAeL-oIFIEngE6jRgFYeFMfuj8WQsO3Ei