How to heal player when he right click using item

Started by diePL on

Topic category: Help with Minecraft modding (Java Edition)

Joined Dec 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How to heal player when he right click using item

Hello i need help in making a item what healing player by 2 hearts when he click a item in air please help me.

Joined Dec 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Create a procedure that…
Sat, 05/11/2019 - 18:53

Create a procedure that gives the provided player 4 health points (two hearts), and apply it to the 'when right-clicked in air' event in your item.

 

A procedure that will give the provided entity two hearts

Joined Sep 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How do you make it so that…
Mon, 10/28/2019 - 00:31

How do you make it so that the item removes itself afterwards? Any help is appreciated

Joined Aug 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Just find the block in the…
Sun, 04/19/2020 - 22:42

Just find the block in the player section that says "Remove "(Whatever Item You Select)" from the players inventory.

Joined Jul 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
https://ibb.co/rfW8tpm Thank…
Sun, 08/15/2021 - 06:45

https://ibb.co/rfW8tpm

Thank you guys for great ideas. I add some important features to code, so you don't waste the item on creative or when entity's health is full (made it for entity healing)