Bedrock

"You've probably noticed, if you've ever dug to the bottom of the world, that bedrock is indestructible in survival mode. Without exploiting bugs or glitches, you'll break an infinite number of diamond picks before even making a dent in its craggy surface. In creative mode, of course, you get the freedom to place and break whatever blocks you like - including bedrock."

- Duncan Geere

Bedrock is a block that is indestructible in survival.

Obtaining
Bedrock cannot be broken in survival mode without glitches. $$, even if theoretically broken in Survival mode, bedrock would not drop as an item. $$, certain glitches can be used to obtain bedrock in Survival.

Natural generation
Bedrock comprises the 5 bottommost layers of the Overworld in a rough pattern, although the first to fourth layers are predominantly flat bedrock with only rare gaps, rendering the very bottom, completely flat fifth layer (at y=0) mostly inaccessible. In the Nether, bedrock comprises both the top and bottom four layers in a rough pattern. At the top of the Nether, bedrock prevents the player from going past y=127. In Legacy Console Edition, bedrock walls generate at the edge of the world.

In the End, individual bedrock blocks make up the natural end crystal structure and the bedrock remains after the destruction of the crystal. Bedrock additionally forms as part of the exit portal that generates at the center of the central End island. $$, if one manages to break the bedrock in the exit portal, the bedrock reappears when the portal regenerates.

End gateway portals are also generated upon killing the ender dragon. However, only 20 of these portals generate, in set positions, with one appearing per dragon kill. Additional end gateways are also generated in the outer End regions after activating end gateways at the main island.

Info
Bedrock's primary usage is as a solid unbreakable block. It cannot be moved by pistons.

Additionally, when set on fire in The End, the fire on bedrock never extinguishes naturally, similarly to the fire on netherrack.

Servers use Bedrock for barriers, decoration or other things.

ID




Block states
$$, bedrock uses the following block states:

Trivia

 * It is possible, but rare, for ore to be found encased in bedrock.
 * Strongholds can cause a bedrock not to form within its bounds.
 * From its addition in Classic through some versions of Alpha, bedrock's texture file was called Rock.png.
 * $$, the patterns of bedrock are consistent in all worlds regardless of world seed (except Superflat). $$, the patterns are dependent on the seed in the Overworld, however, they are still consistent in the Nether.
 * The bedrock texture, regardless of the current default resource pack (Programmer Art or Default), is basically the stone block with really high contrast.
 * Vexes and the ender dragon can fly through bedrock. Additionally, the ender dragon cannot break bedrock.