How to check a player's coordinates?

Started by IamAcand on

Topic category: Help with Minecraft modding (Java Edition)

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

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)