Altitude



Altitude is a measurement of vertical distance, or distance along the Y-axis.

Definition
Altitude is defined as "the height of anything above a given planetary reference plane, especially above sea level on earth."

In Minecraft, altitude is commonly expressed as the number of block layers above the bottom of the game environment, which is layer zero (0). For instance, sea level is recognized as block layer 62, and clouds appear at layer 127. In 1.17 and above, clouds appear at Y=191 (absolute layer 255).

Altitude may also be expressed as the bottom face of the block layer, the bottom most of which is at Y-coordinate 0, or Y=0. Sea level would appear at Y=63, and cloud level would appear at Y=128. The player can press to see the Y-coordinate of the top face of the block on which they are standing.

Features and effects by height

 * Note: This list is projected from the highest to the lowest Y- level.


 * ≈ 1.7976931348623 &times; : Largest height Minecraft can distinguish from infinity, Java's.
 * = 36,028,797,018,963,968: Above this height, players cannot move vertically except using NBT editors.
 * = 4,503,599,627,370,496: Maximum height reachable by flying, the point where the datatype stops growing in steps of 0.5.
 * = 2,147,483,648: The game crashes beyond this point in Bedrock Edition.
 * 30,000,000:The player is kicked from the world above this height in Java Edition.
 * 30,000,000:The maximum height of teleportation $$
 * 4064:The maximum build height possible in Custom worlds.
 * 511:The highest you can go in Legacy Console Edition.
 * 320:Top face of the highest block that can be placed in Bedrock and Java editions. (Caves & Cliffs and later)
 * 256:Top face of the highest block that can be placed in Bedrock and Java editions. (in Legacy Console Edition it is 1 block higher.)
 * 191-195: Cloud layer (Caves & Cliffs and later)
 * 180:There used to be a bug where mobs would not spawn above this height.
 * 127-135: Cloud layer (Nether Update and earlier)
 * 128:Upper limit of Coal Ore generation. Build limit in the Nether for.
 * 127:Full bedrock layer in the Nether.
 * 124-126:Partial bedrock layers in the Nether.
 * 80:Upper limit of gold ore generation in badlands and variants.
 * 70:Upper limit of slime spawn in swamps.
 * 64:Upper limit of iron ore generation.
 * 63:Sea level. Players must be above this level for phantoms to spawn.
 * 50:Lower limit of slime spawn in swamps outside "slime chunks".
 * 40:Upper limit of slime spawn in non-swamp biomes in "slime chunks".
 * 32:Upper limit of lapis lazuli ore, emerald ore and (in non-badlands biomes) gold ore generation.
 * 29:There used to be a bug where mobs would not spawn below this layer.
 * 16:Upper limit of redstone ore and diamond ore generation.
 * 10:Lava replaces air below this layer.
 * 1-4:Partial bedrock layers in the Overworld.
 * 1-3:Partial bedrock layers in the Nether.
 * 0:Full bedrock layer in the Overworld and the Nether. Top of the Void; bottom face of the lowest block that can be placed. Liquids stop flowing when they reach this point. Also, entities and players not in creative $$ take damage after this point.
 * &minus;40:An invisible border appears here $$, which can be bypassed by using
 * &minus;64:Players below this height take void damage ( per $1/2$ second) $$, even if in Creative mode. This damage cannot be prevented or mitigated, but commands can provide enough regeneration to survive it. Non-player entities falling below this height despawn instantly. It is the current minimum build height as of Java Edition 21w06a.
 * &minus;128:Players below this height take void damage in Java Edition 21w06a.
 * &minus;2032:The minimum build height possible in Custom worlds.
 * &minus;16,777,216:You cannot fly down below this point $$. The reason is that every 2nd block, the block is invalid making the player unable to enter the block. Since players are 2 blocks tall, it is impossible to enter. If entered with commands, extreme jitter and camera movement happens.
 * &minus;30,000,000:Players below this height are kicked with an "invalid move player packet received" error in Java Edition. This can be fixed through external programs. This is the minimum height of teleportation.

Limits in Bedrock Edition
'''The top of the game environment is layer 255, and the top face of the highest block that can be placed is at Y=256. This is changed to Y=320 and a minimum of Y=-64 (384 Total) in Java Edition 1.17'''.

$$, the player dies instantly if they fall below Y=-2, unless in Creative mode. In creative mode, the player can fall only into Y=-40, but can use to lower (unless in the "stripe lands"). The height limit for building blocks is Y=256.

With slow falling, when under Y=-30,000,000 there seems to be a barrier after falling down for a while.

Natural resources and altitude
Features in the landscape of the Overworld are found at different altitudes, as shown in the graph below. There is also an interactive chart for Java Edition 1.2.2.



Note that these charts utilize the logarithmic scale, which means a slight difference in the Y-coordinate represents a large change in the relative frequency of a block type.

Some observations:
 * Looking at water, the amount at layer 62 (sea level) is obvious. Moving down, the amount quickly decreases at layers 56 and 48, the usual depth of river and ocean biomes, respectively.
 * There are corresponding peaks in the amount of clay beneath them.
 * Between layers 33 and 12, most water is falling down sub-ocean ravines, spreading out on the lava-filled bottom at layer 10 and producing most of the naturally-occurring obsidian.
 * Ores and gravel (not shown) usually occur as a fixed percentage of the amount of stone (also not shown), tapering off at the ends of their allowed generation range.
 * This is why coal and iron follow parallel tracks between layers 5 and 60.
 * The one exception is lapis lazuli ore, which has a linear progression up to a peak at layers 13-14.

The following table offers a more in-depth summary of the same block distribution as shown in the graph above.

The Nether
A similar graph, showing the distribution of blocks unique to the Nether (Java Edition 1.16.4):



The following table offers a more in-depth summary of the same block distribution as shown in the graph above.

The End
A similar graph, showing the distribution of blocks unique to the End (Java Edition 1.16.4):



The following table offers a more in-depth summary of the same block distribution as shown in the graph above.

Trivia

 * The highest possible altitude the player can legitimately climb to is Y=256, although explosions, elytra launchers, piston slime block bounces, and Riptide tridents can all propel the player far beyond this limit.
 * $$, mushrooms can appear on the nether's bedrock ceiling.
 * Block generation and player construction below and above the build limits can be achieved only through modifying the dimension properties, or mods, such as the Cubic Chunks mod.