how to check what side of a block a player is looking at

Started by y124 on Sun, 07/05/2020 - 09:41

Topic category: Help with MCreator software

Last seen on 09:49, 8. Jul 2020
Joined Jul 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
how to check what side of a block a player is looking at
Sun, 07/05/2020 - 09:41

i need to know for a 3x3 mining 'hammer' i am making (same as the one in tinkers construct) i have the block "code" for the rest it just only mines the 3x3 down or up and i want it to be able to mine on the x and z axises also.

if anyone has anyway of doing this using blocks or custom code snippets it would be much appreciated

Last seen on 16:48, 17. Dec 2020
Joined Jun 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
There's a block in Minecraft…
Sun, 07/05/2020 - 10:42

There's a block in Minecraft Components called "Trigger direction/face" which corresponds to what side of the block you clicked on (if the procedure supports directionals)

Last seen on 09:49, 8. Jul 2020
Joined Jul 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
it is missing the direction…
Sun, 07/05/2020 - 12:19

it is missing the direction dependency