how would i get the block a player is stepping on

Discussion in 'Plugin Development' started by ahuby09, Dec 27, 2013.

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

    ahuby09

    what the question says ^
    |
     
  2. Offline

    user_90854156

    Code:java
    1. p.getLocation().getBlock().getRelative(BlockFace.DOWN).getType()

    That will get the blocktype under you.
     
  3. Offline

    ahuby09

    thanks :)
     
Thread Status:
Not open for further replies.

Share This Page