location by player

Discussion in 'Spigot Plugin Development' started by SkymaxPlay, May 5, 2015.

  1. Hello,
    how to get the location for the player, for example. 2 long blocks for the player, this location must be set by a pitch and Yaw. So eg. A player is looking north this location is south, looking down the location is at the top. How to calculate something like that?
     
  2. You can calculate the pitch and Yaw with vector arguments.
     
  3. I don't understand your question. You mean how can you get the direction opposite to what he is facing?