How to get a block that the player clicks on with the left mouse button?

Started by Xinonc on

Topic category: Help with modding (Java Edition)

Last seen on 12:25, 29. Jul 2024
Joined Jul 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How to get a block that the player clicks on with the left mouse button?

I want the player to take damage when breaking a certain block, how can this be implemented?