Coordinates

Discussion in 'Spigot Plugin Development' started by Preodym, May 23, 2016.

  1. Hey,

    I have a question: How do I get the coordinates of the block at the RIGHT SIDE of the player?
     
  2. MiniDigger

    Supporter

    the the facing direction of the player, calculate what direction is the right side of the player and get the location using block getrelative using the block the player is standing in (playerloc getblock) and the blockface you calculated.