How do I make an item give health instead of hunger?

Started by GeckoLettuce on

Topic category: Help with Minecraft modding (Java Edition)

Joined Jul 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How do I make an item give health instead of hunger?

So I am making a mod and I want to add a medkit but I can't make it give health. Only hunger, Could someone tell me how I could make it give health and not hunger?

Joined Jul 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Oh and I also would like to…
Sun, 07/30/2023 - 04:21

Oh and I also would like to know how I could make the mod spawn big structures around like hospitals or something

Joined Jul 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Nevermind I got it. All I…
Sun, 07/30/2023 - 21:35

Nevermind I got it. All I need to do was hook up the "When Right Clicked" Trigger with a "Heal target/entity to ()"