How to get one player in the sights?

Discussion in 'Spigot Plugin Development' started by darkwolf_66, Jun 5, 2015.

  1. i'm making a plugin, but i dont'n know how to take the player in sight. I thought about making picking up the line blocks, and taking the entities who are in this line but I think the code would be a bit complex for a simple thing as simple.

    Thanks for the help sorry for my bad English.
     
  2. I have this trouble too