Bedrock

Bedrock is a block that is normally indestructible in Survival.

Obtaining
Bedrock cannot be broken in Survival mode without bug exploiting. $$, certain glitches can be used to obtain bedrock in Survival. $$ it is impossible to obtain bedrock using normal means, but it can be acquired in previous versions using multiple glitches at once.

Natural generation
Bedrock comprises the five bottom-most layers of the Overworld in a rough pattern, although the top four layers are predominantly flat bedrock with only rare gaps, rendering the lowest, completely flat fifth layer (at y=-64) mostly inaccessible.

In the Nether, bedrock comprises both the top and bottom four layers in a rough pattern. In both Java and Bedrock Editions, the patterns of bedrock are consistent in the Nether. At the top of the Nether, bedrock prevents the player from ascending above y=127 without exploiting glitches, although in Java Edition the build limit extends to y=255 like the Overworld and the End.

In the End, a single bedrock block generates on top of each obsidian pillar, each topped with an end crystal. The bedrock remains after the destruction of the crystal, and is lit on fire indefinitely. Bedrock additionally comprises part of the exit portal at the center of the central island. In Bedrock Edition, if one manages to break the bedrock in the exit portal, the bedrock reappears when the portal regenerates. Placing an end crystal on bedrock in the end will set it on fire.

An end gateway is generated upon the death of each ender dragon, each containing 12 blocks of bedrock. A total of 20 of these portals generate in a circle around the central island in set positions. A corresponding end gateway is generated in the inner edge of the outer islands after an end gateway on the main island is activated. Additional end gateways also generate randomly across the outer end islands.

Info
Bedrock's primary usage is as a solid unbreakable block to prevent players from falling into the void.

Mobs also do not spawn on bedrock. Endermen are unable to place the block they are holding onto bedrock.

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

Trapping wither
Since bedrock is indestructible in Survival, it can be used against the wither. Certain configurations of bedrock (Such as that found under the end exit portal) can be cleverly used to securely trap the wither (or even multiple of them) by spawning them below the bedrock. The wither can then either be easily killed, utilized to break blocks automatically, or used to farm wither roses.

End crystal
Bedrock is one of the two only blocks on which end crystals can be placed, the other being obsidian.

Note Blocks
Note Blocks can be placed above Bedrock to produce "bass drum" sounds.

Piston interactivity
Bedrock is unable to be pushed or pulled by either of the piston variants.

ID




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

Trivia

 * Strongholds can override generated bedrock.
 * The End Portal can break Bedrock.
 * 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.
 * Outside of Minecraft, "bedrock" just means any solid rock beneath the soil layer (So everything below the dirt, sand, or gravel surface).
 * Bedrock has a wither skull when the sides line up correctly.
 * In real life, bedrock is breakable.