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, but it can be acquired with some difficulty, using multiple glitches 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=-64) 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 to prevent players from falling into the void.

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
Note Blocks can be placed above Bedrock 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

 * Strongholds can cause bedrock not to form within its bounds.
 * 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.
 * Bedrock is one of the 4 blocks that can generate in all three dimensions. Others including air, obsidian, and chests.
 * The largest clump of Bedrock at it's top-most layer is located at X=21,783,512 Z=-800,011.
 * Outside of Minecraft, "bedrock" just means any solid rock beneath the soil layer (So everything below the dirt, sand, or gravel surface).