How do I make a medkit item, that restores 4 hearts to the player?

Started by calem on

Topic category: Help with Minecraft modding (Java Edition)

Joined Feb 2025
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How do I make a medkit item, that restores 4 hearts to the player?

Title says it all mostly, I want to make an item that works as a medkit/bandage and restores the player's health by 4, I also want it to be consumed after using it, how do I make one?

Joined Jan 2025
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
You would do a procedure…
Thu, 02/20/2025 - 00:55

You would do a procedure that uses the right-click trigger. and you would do: If an item in the main hand of the player = (your medkit) do: and then you would do set health (your desired amount) Tell me if you need any screen shots and ill try asap!