Faris Posted November 20, 2021 Share Posted November 20, 2021 Hello forum members. How can I get the y coordinate of the highest block on the coordinates of the player without counting air blocks, but so that this block is at the bottom of the player? Quote Link to comment Share on other sites More sharing options...
Luis_ST Posted November 20, 2021 Share Posted November 20, 2021 you could use ChunkAccess#getHeighestPosition and then use Heightmap.Types.WORLD_SURFACE_WG as parameter Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.