Look at an entity

Started by zoomerreid on

Topic category: Help with Minecraft modding (Java Edition)

Joined Jan 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Look at an entity
Mon, 06/02/2025 - 01:33 (edited)

Create a procedure with "Get nearest entity at (x,y,z) in square cube of size (4)"

Replace x, y, and z with look x, look y, and look z

You now have a procedure that will find the entity in that area a player or mob is looking.

Edited by zoomerreid on Mon, 06/02/2025 - 01:33