player take damage when getting close to entity

Started by Steve381489 on

Topic category: Help with MCreator software

Last seen on 23:41, 12. Sep 2023
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?

Last seen on 08:09, 24. Apr 2024
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.

Last seen on 23:41, 12. Sep 2023
Joined Mar 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Thanks
Tue, 06/28/2022 - 17:11
Thanks