How do I detect if the player crosshair is looking at my entity?

Started by PIGLIN98 on

Topic category: Help with Minecraft modding (Java Edition)

Joined Oct 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How do I detect if the player crosshair is looking at my entity?
Thu, 04/24/2025 - 23:11 (edited)

I dont really have idea on how to do it. I never seen procedure blocks to even work with crosshairs in general. My goal is to just detect if the crosshair is looking directly at the entity

Edited by PIGLIN98 on Thu, 04/24/2025 - 23:11