Solved getTargetBlock() help

Discussion in 'Plugin Development' started by Gerov, Jul 13, 2014.

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

    Gerov

    Yes, I know the getTargetBlock() thing, but what if the player wasn't targeting the block i.e(50 blocks away) and you still wanted to figure out what block was in the player's cross hairs, how would you do that?

    An example is the essentials /break command.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jun 9, 2016
  2. Offline

    fireblast709

  3. Offline

    Gerov

Thread Status:
Not open for further replies.

Share This Page