Get block at x,y,z not working

Started by SHB_YT on

Topic category: Help with Minecraft modding (Java Edition)

Joined May 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Get block at x,y,z not working

Simply trying to get a block at a coordinate next to the current block, e.g. x+1 and it's not working.

Was working a second ago, no change of procedure at all. Now it doesn't work.

Joined Aug 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Any chance you're trying to…
Thu, 04/30/2020 - 00:17

Any chance you're trying to target a coordinate that's actually at x-1, z+1 or z-1? If you want to test for a block that is touching any side of your target block then you need to test both positive and negative for x, y, and z coordinates.

If that's not the case, then I don't know what to tell ya.