find block player is looking at

Started by Purple1988 on

Topic category: Help with modding (Java Edition)

Last seen on 02:05, 17. Nov 2021
Joined Jun 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
find block player is looking at

I am making a procedure for a tool that lets you pan for gold

How would I find the block that the player is facing and if the block is the specified block (sand/gravel), then give an item out of a loot table or manually enter in the procedure