How to add to player hp in procedure

Started by DaveyL2013 on

Topic category: Help with Minecraft modding (Java Edition)

Active 6 years ago
Joined Jul 2015
Points:
719

User statistics:

  • Modifications: 0
  • Forum topics: 1
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 0
How to add to player hp in procedure
Fri, 07/13/2018 - 13:53 (edited)

I want to make an item that when right clicked gives the player +2 hp (1 heart), but I cant seem to find any way to add a value to player hp. Is there a custom code snippet or something I can use to add +2 to player hp? Thanks, DaveyL2013.

Edited by DaveyL2013 on Fri, 07/13/2018 - 13:53
Active 3 years ago
Joined Jul 2018
Points:
741

User statistics:

  • Modifications: 1
  • Forum topics: 1
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 92
Do when Clicked give player…
Fri, 07/20/2018 - 15:44

Do when Clicked give player Regeneration 1 for 20 ticks or so Ill show A example picture in a bit,

/\__/\
(=^ . ^=)
(“)_(“)_/