Question Get the location X blocks ahead of the user

Discussion in 'Bukkit Help' started by CrystalxNeth, Feb 3, 2016.

Thread Status:
Not open for further replies.
  1. Offline

    CrystalxNeth

    I am looking to get the location X blocks ahead of a player's eye location (the X will change).

    I currently use math with quite a few cos, sin, and tan methods and from what I know, that isn't the most efficient way considering I wish to run this every tick.

    Is there a way to do this easier with the Bukkit API using vectors/locations? Thanks
     
Thread Status:
Not open for further replies.

Share This Page