Bedrock

"Bedrock lives at the bottom of the overworld and the top and bottom of the Nether. It was added on the tenth day of Minecraft's development - 20 May 2009 - only three days after the game was released to the public for the first time. It's older than water, lava, ores and logs. But dirt, grass and stone are older still."

- Duncan Geere

Bedrock is a block which is indestructible in survival.

Obtaining
Bedrock cannot be broken using any tools. It also cannot be moved by pistons or destroyed by explosions that are present in survival gameplay. Bedrock can only be obtained and broken by the creative inventory and commands (especially ). Even if theoretically broken, bedrock would not drop as an item.

Obtaining via glitches
While Bedrock is not obtainable via normal play, exploits can be used in both java and bedrock edition in order to obtain it in survival. In java edition, an incredibly complex machine must be built in the end that breaks the bedrock using pistons during chunk generation, but since bedrock has been hardcoded to not drop it is currently only possible to get in 1.8.9 In Bedrock edition, a more simple setup is used. first, two bedrock must be broken on one side of the portal, followed by setting up two players so that when they are pushed by pistons, one will mine netherrack where bedrock used to be, and one will place an end crystal which will respawn the dragon. if you push the players at the same time and mine the netherrack with an efficiency 5 silk touch diamond pickaxe, then the block will convert to bedrock at the exact same time it is being mined, dropping the bedrock item.

Natural generation
Bedrock comprises the bottom-most 5 layers of the Overworld in a rough pattern, although to the 4th layer is predominantly flat bedrock with only rare gaps, rendering the very bottom 5th layer mostly inaccessible. In the Nether, bedrock comprises both the top and bottom 4 layers in a rough pattern. At the top of the Nether, bedrock prevents the player from going past layer 127. It can also be found at the sides of the Nether.

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 end gateway portals, created when the dragon is killed, and as part of the bedrock exit portal which is generated at the center of the central End island.

Usage
Bedrock's primary usage is as a solid unbreakable block. It also prevents mob spawns and is the only solid block that beacon beams can shine through. When placed above a beacon on the Console Edition, it will turn the beam black.

Additionally, when in the End and set on fire, the fire on bedrock will never go out naturally, similarly to netherrack.

Trivia

 * In the Legacy Console Edition, only the highest layer in the Nether of naturally spawned bedrock is unbreakable.
 * 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.
 * In Minecraft Java Edition, the bedrock layers are consistent, no matter how the world's seed was. In Bedrock Edition, in the Overworld, these layers are dependent on the seed, however, in the Nether, they are still consistent.