Finding a block behind a block

Started by Juplicate on Sat, 08/08/2020 - 21:02

Topic category: Help with modding (Java Edition)

Last seen on 02:47, 11. Feb 2021
Joined Mar 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Finding a block behind a block
Sat, 08/08/2020 - 21:02

I have to use x y z when taking energy, is there any way to make the block only take energy from behind itself without making it un-rotatable.

Last seen on 17:57, 21. Aug 2021
Joined Jun 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Just use the "Get block at x…
Sat, 08/08/2020 - 21:36

Just use the "Get block at x, y, z" procedure block, and input the coordinates for the block you want to check relative to the block you already have.

Last seen on 02:47, 11. Feb 2021
Joined Mar 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
That doesn't work because if…
Sat, 08/08/2020 - 21:52

That doesn't work because if i rotate the block, it still goes to the same cordinates.