How to check for player's coordinates?

Started by Locuthos on

Topic category: Help with modding (Java Edition)

Last seen on 21:00, 15. Jan 2020
Joined Dec 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How to check for player's coordinates?

Hey everyone,

I've been wondering how to have my mod check for my (the player's) current coordinates. I'd like to make a procedure that runs a certain command once the player exceeds a certain z-value (in order to then simulate latitudes). Has anyone got an idea?

Thanks in advance :)

You can get entity…
Fri, 12/20/2019 - 15:51

You can get entity coordinates in procedures using Get entity x/y/z procedure block in Entity category.

I suggest you check our tutorials collection playlist on our YouTube channel which contains many examples and tutorials that can help you get started with MCreator: https://www.youtube.com/playlist?list=PLAeL-oIFIEngE6jRgFYeFMfuj8WQsO3Ei

Last seen on 21:00, 15. Jan 2020
Joined Dec 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Thanks a lot, it worked!…
Fri, 12/20/2019 - 18:29

Thanks a lot, it worked! Your tutorials are very helpful too, thanks.

Just a quick question: do you know how I can turn off the chat output that my procedure-run command produces?

Thanks!

Last seen on 16:42, 14. Jun 2021
Joined Jun 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Hello i need a way in order…
Wed, 06/09/2021 - 20:49

Hello i need a way in order to get the players location and the entity procedere is not working