Checking how many blocks above the ground the player is

Discussion in 'Plugin Development' started by Reinified, Nov 25, 2018.

Thread Status:
Not open for further replies.
  1. How do I check how many blocks above the ground a player is, even if the player has a roof over their head (can't use highestBlockAt())? Thanks.
     
  2. Online

    timtower Administrator Administrator Moderator

    @Reinified Get their position, shift it down till you hit a solid block, calculate the difference.
     
Thread Status:
Not open for further replies.

Share This Page