Jump to content

[1.11.2] How to get the first entity in a line of the player's view?


Calendula

Recommended Posts

Hello there,

 

me wants to try a simple "detection line" that gets the first entity it "hits" by lining up the crosshair with it, but I have no clue whatsoever on how to start out.

So how does one start out with that?

 

Thank youw~

 

PS: Solved it on my own! Sorry for using up disk space of this forum~

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.