Posted November 20, 20213 yr 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?
November 20, 20213 yr you could use ChunkAccess#getHeighestPosition and then use Heightmap.Types.WORLD_SURFACE_WG as parameter
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.