How to get the name of the block the player is looking at

Started by Newtoblarone44 on

Topic category: Help with modding (Java Edition)

Last seen on 11:05, 11. Jul 2021
Joined May 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How to get the name of the block the player is looking at

I wanted to recreate the targeted block in vanilla minecraft when you press F3 but i cant see a way to get the name of the block the player is looking at

Thanks