Solved Make player teleport up one block

Discussion in 'Plugin Development' started by ice374, Jul 20, 2013.

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

    ice374

    ^as the title says how do I make player teleport up one block
     
  2. Use the players location and the teleport method on players perhaps?
     
  3. Offline

    ice374

    Yeah, i figured that, and that I need to get the players y coord and add 1 to it but i can't seem to put it all together
     
  4. Offline

    etaxi341

    ice374
    Code:java
    1. loc = p.getLocation();
    2. loc.add(0, 1, 0);

    There you have got your location with y one bigger
     
    ice374 likes this.
  5. Offline

    ice374

Thread Status:
Not open for further replies.

Share This Page