Bedrock

Bedrock is a block that is indestructible in survival, but destructible in creative.

Obtaining
Bedrock cannot be broken in survival mode without glitches. $$, certain glitches can be used to obtain bedrock in Survival. $$, it is impossible to obtain bedrock using normal means. However, it is possible to obtain bedrock in Java Edition, although it requires multiple glitches being used at once.

Natural generation
Bedrock comprises the five bottom-most layers of the Overworld in a rough pattern, although the first to fourth layers are predominantly flat bedrock with only rare gaps, rendering the lowest, completely flat fifth layer (at y=0) mostly inaccessible. $$, 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.

In the Nether, bedrock comprises both the top and bottom four layers in a rough pattern. $$, the patterns of bedrock are consistent in the Nether. At the top of the Nether, bedrock prevents the player from going past y=127.

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.

Mobs also do not spawn on bedrock.

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

Note Blocks
Bedrock can be placed under note blocks to produce "bass drum" sounds.

Piston interactivity
Bedrock cannot be pushed by pistons. It also cannot be pushed nor pulled by sticky pistons.

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 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 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.