How to check if player is within a certain distance to block?

Started by Huntermanz on Mon, 09/10/2018 - 11:28

Topic category: Help with MCreator modding

Last seen on 11:20, 11. Sep 2018
Joined Aug 2018
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
How to check if player is within a certain distance to block?
Mon, 09/10/2018 - 11:28

I want a procedure to trigger on a custom block only when the player is within say 5 blocks. How do i accomplish this? I could not find any way to get the players x,y,z coordinates in the editor.

Last seen on 03:10, 7. Dec 2019
Joined May 2019
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
i need the same help with…
Tue, 10/29/2019 - 00:38

i need the same help with this

 

Last seen on 20:20, 17. Nov 2019
Joined Jul 2017
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
is there a solution now?
Sat, 11/16/2019 - 21:00

is there a solution now?