How to check a player's coordinates?

Started by IamAcand on

Topic category: Help with modding (Java Edition)

Last seen on 15:40, 28. Nov 2021
Joined Nov 2021
Points:

User statistics:

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

Hey, so I want to detect if the player is standing on grass, so I need the coordinates. And I've seen some posts saying to use "Get entity x y z" or something like that but I can't find it anywhere. Can you please help?

I suggest you check our…
Fri, 11/12/2021 - 14:24

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 04:28, 26. Jan 2024
Joined Oct 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
yeah so your oversimplifying…
Fri, 11/12/2021 - 16:59

yeah so your oversimplifying it, 

if block at X Y - 1 Z = GASS
 do (whatever)