How to heal player when he right click using item

Started by diePL on

Topic category: Help with Minecraft modding (Java Edition)

Active 6 years ago
Joined Dec 2018
Points:
676

User statistics:

  • Modifications: 0
  • Forum topics: 1
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 0
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.

Active 6 years ago
Joined Dec 2017
Points:
716

User statistics:

  • Modifications: 1
  • Forum topics: 2
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 14
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

Active 5 years ago
Joined Sep 2019
Points:
660

User statistics:

  • Modifications: 0
  • Forum topics: 2
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 1
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

Active 4 years ago
Joined Aug 2019
Points:
656

User statistics:

  • Modifications: 0
  • Forum topics: 0
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 9
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.

Active 3 years ago
Joined Jul 2021
Points:
575

User statistics:

  • Modifications: 0
  • Forum topics: 6
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 15
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)