player take damage when getting close to entity

Started by Steve381489 on

Topic category: Help with MCreator software

Joined Mar 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
player take damage when getting close to entity

Does anyone know if it's possible to create a procedure capable of making the player take damage if he approaches a certain entity?

Joined May 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Create a standalone…
Tue, 06/28/2022 - 01:00

Create a standalone procedure, give it any name. Then set the following blocks.

 

 

Save and test.