Info
height command
Syntax
What it does
Prints the terrain height the world generator produces at your position. It reads the generator rather than the ground you're standing on, so raised or flattened terrain doesn't change the number. Works without cheats.
Examples
Prints the generated height at your position.
Related commands