Canyon

A canyon (also known as a ravine) is a deep, long crack in the ground.

Structure
Canyons are usually between 85 to 127 blocks in length, and typically less than 15 blocks wide. $$ canyons are usually 27 to 62 blocks in depth. Canyons $$ can sometimes go all the way down to bedrock, causing canyons spawning in mountain biomes to appear deeper.

A canyon extending down to bedrock causes lava to generate at the bottom. Obsidian often forms at the bottom as water sources flow down into the lava. Because canyons can reach below Y coordinate 15, it is possible to find diamond ore exposed near the bottom.

Canyons can have small ledges along the top. They can be found at levels 10 to 72, sometimes appearing on the world surface or underwater, forming canyons. They can go deep underground, sometimes spawning slimes or exposing diamond ore. If they reach deep enough, they may also be floored by the lava lakes at level 10. Canyons can cut from surface level all the way down to bedrock, especially noticeable in the Amplified world type.

Canyons can also be found in oceans or rivers having a waterfall from the river/ocean falling into them. Canyons can spawn in the ocean with magma blocks at the bottom forming bubble columns.

Canyons can connect to caves, dungeons, abandoned mineshafts, and any other generated structures. Due to the large surface area of their walls, canyons often have water and/or lava flowing down them (from springs in the walls, underground lakes, or openings to the sea). A canyon that intersects a river, frozen river, or swamp is filled with stone under the body of water.

Lava oceans


Similarly to how water oceans replace all air blocks below a certain altitude on the surface, when deep enough in a canyon, all blocks that would generate as air instead generate as lava.

Trivia

 * The seed 7516787321860453591 $$ generates a world with a spawn point close to a canyon. A villager spawns right on top of the canyon and a church building is partially floating above the canyon. The canyon only stretches downward to y-33 and there is one waterfall/water source on the side.
 * $$ the seed 1669320484 generates a huge canyon extending endlessly from southwest to northeast at coordinate X=−1269, Z=0, shaped by countless identical connected north-south canyons. There are other lines of canyons parallel to this one, but few of them are visible aboveground or have the canyons connected. This seed also generates parallel lines of endless dungeons underground.