How to heal player when he right click using item

Started by diePL on

Topic category: Help with modding (Java Edition)

Last seen on 20:06, 11. May 2019
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.

Last seen on 14:44, 25. May 2019
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

Last seen on 18:40, 1. May 2020
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

Last seen on 08:59, 10. Jul 2021
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.

Last seen on 15:54, 5. Sep 2021
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)