{{Redirect|Y|getting the y-level of the highest block at each horizontal coordinate|Heightmap}} {{Redirect|Height|information about the height of solid blocks|Solid block#Height}} [[File:Alt.png|thumb|Chart lining up ''Y''-coordinate values (left) to block layers (right) (not to scale) in ''Java Edition''.]] '''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.''"''Dictionary.com Unabridged'', "[http://dictionary.reference.com/browse/altitude altitude]", accessed April 10, 2016 In ''[[Minecraft]]'', altitude is often expressed as the bottom face of a block layer, where the lowest block that can be placed is at layer -64 and has a ''Y''-coordinate of −64. For instance, [[sea level]] is at layer 62, while [[cloud]]s appear at layer 191. This is not to be confused with altitude when otherwise expressed as the top face of a block layer, where the lowest block that can be placed is at layer -63 and has a ''Y''-coordinate of -63. For example, sea level is at layer 63, while clouds appear at layer 192. This is akin to calling the ground level story the "first floor" (top face of a block layer), rather than the "ground floor" (bottom face of a block layer). The [[player]] can press {{key|F3}} to see the ''Y''-coordinate of the top face of a block they are on top of.{{only|java}} Altitude expressed as the bottom face of a block layer is most useful for identifying the position of blocks, such as when using {{cmd|fill}} to replace block(s). Expressing altitude as the top face of a block layer is more useful for identifying the position of entities, such as when using {{cmd|tp}} to teleport or {{cmd|summon}} to spawn an entity/entities. For instance, the topmost block of water in an [[ocean]] biome has a ''Y''-coordinate of 62; in a frozen ocean biome, ice replaces water at sea level, and the lowest height where terrestrial mobs can spawn is at layer 63. == Features and effects by height == {| class="wikitable sortable col-1-left col-2-left mw-collapsible" style="text-align: center;" data-description="Features and effects by height" |- ! class="unsortable" |''Y''-coordinate ! class="unsortable" | Feature or effect |- | {{exp|2|1024}}/Approximately 1.8 × {{exp|10|308}}, or 180 uncentillion | Largest height ''Minecraft'' can distinguish from infinity, Java's {{cd|Double.MAX_VALUE}}.{{bug|MC-74776||Player unable to turn when at Y: Infinity"|Won't Fix}} |- | 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 {{cd|Double}} datatype stops growing in steps of 0.5. |- | {{Wikipedia|2,147,483,647}} | {{IN|bedrock}}, the game crashes beyond this point. |- |30,000,000 |{{in|java}}, players are kicked out of the world when above this height. {{IN|bedrock}}, this is the maximum height players can teleport. |- | 19,999,999.999999 | The maximum height the player can teleport to {{in|java}}. |- | 2,032 | Top face of the highest block that can be placed in a [[Custom]] world generated with the maximum build height. |- |rowspan="2"| 320 | Top face of the highest block that can be placed in the [[Overworld]]. |- | Highest layer where [[coal ore]] can generate, replacing [[stone]], [[granite]], [[diorite]] and [[andesite]]. |- |rowspan="2"| 256 | Naturally-generated terrain appears to be capped at this height, excepting [[Amplified]] worlds. |- | Top face of the highest block that can be placed in [[the Nether]]{{only|java}} and [[the End]]. |- | 255 | Highest layer where [[dirt]] and [[gravel]] can generate, replacing [[stone]], [[granite]], [[diorite]] and [[andesite]].https://gist.github.com/tryashtar/2a22bd04394275fefb6b49c348758fd6 |- | 191–195 | Range of [[cloud]] layers. |- |rowspan="3"| 127 | Full [[bedrock]] layer in [[the Nether]]. |- | Highest layer where [[nether quartz ore]], [[nether gold ore]] and [[ancient debris]] can generate, replacing [[netherrack]], [[basalt]], and [[blackstone]]. |- | {{IN|Bedrock}}, this is the bottom face of the highest block that can be placed in the Nether. |- | 123–126 | Range of partial bedrock layers in the Nether. |- | 79 | Highest layer where [[gold ore]] within [[badlands]] biomes, [[granite]], [[diorite]] and [[andesite]] can generate, replacing [[stone]], [[granite]], [[diorite]] and [[andesite]]. |- | 75 | All 20 [[end gateway]]s on the main End island generate at this height. |- | 50–70 | Range of layers where [[slime]]s are able to spawn in [[swamp]]s. |- | 63 | Highest layer where [[infested stone]] within [[mountains]] biomes, [[iron ore]], and [[lapis lazuli ore]] can generate, replacing [[stone]], [[granite]], [[diorite]] and [[andesite]]. |- |rowspan="2"| 62 | Sea level. |- | [[Phantom]]s only spawn if players are above this level. |- | 40 | Highest layer where slimes are able to spawn within "[[slime chunk]]s" outside of swamps. |- | 36 | Highest layer where [[gravel]] and [[blackstone]] can generate, replacing [[netherrack]], [[basalt]], and [[blackstone]]. |- |rowspan="2"| 31 | Highest layer where [[gold ore]] outside of badlands biomes can generate, replacing [[stone]], [[granite]], [[diorite]] and [[andesite]]; lowest layer where [[emerald ore]] within mountains biomes can generate |- |[[Lava sea]] level in [[the Nether]]. |- | 15 | Highest layer where [[redstone ore]] and [[diamond ore]] can generate, replacing [[stone]], [[granite]], [[diorite]] and [[andesite]]. |- | 1–7 | Partial layers of [[deepslate]] in the [[Overworld]]. |- | 1–4 | Partial layers of bedrock in the Nether. |- |rowspan="3"| 0 | Full bedrock layer in the Nether. |- | Deepslate replaces stone below this layer. |- | Some aquifers below this layer can be filled with lava instead of water. |- | -51 | The floor of [[ancient cities]] always generates at this layer. |- | -54 | [[Lava]] replaces [[air]] below this layer. |- | -59 to -63 | Partial layers of bedrock in the Overworld. |- |rowspan="3" | -64 | Full layer of bedrock in the Overworld. |- | Bottom face of the lowest block that can be placed. |- | Players below this height in the Nether or the End take [[void]] damage {{in|Java}}. |- | -104 | An invisible border prevents players from falling {{in|bedrock}}. |- | -128 | Players below this height in Overworld take [[void]] damage {{in|java}}. 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. |- | -2,032 | Bottom face of the [[#Gallery|lowest block]] that can be generated in a Custom world with the maximum build height. |- | -65,536 | Upper limit of the [[#Gallery|bottom face]] of the lowest temporary (isn't saved) block that can be placed in a Custom world (the lower it is, the slower the game runs). However, it can only be accessed through external programs. |- | -2,606,449 |In [[Bedrock Edition]], the max depth a player can fall in [[Mods|unmodded]] [[survival]] (assuming they are at terminal velocity and eating an inventory of [[Enchanted Golden Apple|enchanted golden apples]].https://www.youtube.com/watch?v=X38yXa0Ex10 |- | -16,777,216 | {{IN|bedrock}}, the player cannot fly below this layer. Every second block is invalid; because players are 2 blocks tall, it is impossible to enter. If bypassed via commands, the player experiences extreme jitter and camera movement. |- | -30,000,000 | The minimum height the player can teleport to. |} == Natural resources and altitude == Features in the landscape of the [[Overworld]] are found at different altitudes, as shown in the graph below for [[Java Edition 1.20.2]]. [[File:Resource distribution by altitude (Minecraft 1.20.2, Overworld).svg|900px]] ''Note that these charts utilize the [[wikipedia:Logarithmic scale|logarithmic scale]], which means a slight difference in the Y-coordinate represents a large change in the relative frequency of a block type. Also note that normal and deepslate ore variants have been combined in the chart. Interactive versions of these graphs containing all blocks can be found [https://meeples10.github.io/resource-distribution/1.20.2/graphs here].'' === The Nether === A similar graph, showing the distribution of blocks unique to [[the Nether]] ([[Java Edition 1.20.2]]): [[File:Resource distribution by altitude (Minecraft 1.20.2, Nether).svg|900px]] === The End === A similar graph, showing the distribution of blocks unique to [[the End]] ([[Java Edition 1.20.2]]): [[File:Resource distribution by altitude (Minecraft 1.20.2, End).svg|900px]] == Achievements == {{load achievements|Star Trader;Caves and Cliffs}} == Advancements == {{load advancements|Star Trader;Caves & Cliffs}} == Video ==