(help) how to make if player hit entity/player got a insta health effect

Started by devogamer12 on

Topic category: Help with Minecraft modding (Java Edition)

Joined Jan 2025
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
(help) how to make if player hit entity/player got a insta health effect

my idea is every time have a specific potion, and the if the sword attack entity it will get instant health. i already can understand the if procedure thing but there no block for my idea (sorry my english is not my first language )