Solved Distance check

Discussion in 'Plugin Development' started by LordManegane, Oct 5, 2013.

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

    LordManegane

    I need well, i want if someone could help me to do this.
    Well, i want a item that teleport you to the block that its the player looking, but only on a certain "range" like the compass of WorldEdit.
    Thanks ^_^
     
  2. Offline

    adam753

    Code:
    double distance = myStartLocation.distance(myEndLocation);
    
     
  3. Offline

    LordManegane

Thread Status:
Not open for further replies.

Share This Page