Block

Blocks are the basic units of structure in Minecraft that can be directly placed in the game world.

Behavior
Blocks are arranged in a 3-dimensional grid of 1-cubic-meter cells. Each cell usually contains exactly one block; exceptions exist in the form of slabs, stairs, vines, snow layers, turtle eggs, sea pickles and lightning rods.

Together, blocks and fluids build up the in-game environment, and most can be harvested and utilized in various fashions. Some blocks, such as dirt and sandstone, are opaque and occupy their entire cubic meter, while other blocks, such as glass and flowers, are transparent or non-solid. Explosions destroy some blocks more easily than they destroy others.

Air is a special block. It is an unbreakable transparent block, as a substitute for the absence of blocks. It has two variants: cave air and void air.

Some blocks, such as torches and glowstone, emit light. The amount of light they emit varies widely; see this table of light values for further information. Opaque blocks completely block light, while transparent blocks can have no effect on light, block the light, or merely weaken it.

Almost all blocks ignore gravity, except for sand, red sand, gravel, anvils, dragon eggs, concrete powder, scaffolding, snow and pointed dripstone, all of which turn into entities when their support is removed.

When broken, blocks emit sounds and particles associated with themselves, except in the following cases:


 * When the block is removed by a piston.
 * If the block is affected by gravity and falls into an invalid space.
 * Anvils that are destroyed by running out of durability or falling. Only particles are missing.
 * If the block can be washed away and is washed away by a flowing fluid.
 * If the block can be replaced by other blocks and is replaced.
 * If the block is one of a few blocks such as rails or redstone wire, supported by another block and its supporting block is removed.
 * If the block is leaves and decays.

Block height
Most solid blocks are 1 meter high (3.28084 ft), but certain blocks (especially slabs and stairs) have non-standard block heights.

A player can automatically step up from a lower to a higher height if the difference is at most 0.6 ($3/5$) of a block or 1.9685 feet.

Textures
The textures on the faces of blocks are 16×16 pixels. Most blocks are proportionately one cubic meter by default, but their shape can be changed using models.

Most blocks have static textures, but these blocks are animated: water, lava, nether portal, end portal, end gateway, prismarine (slab; stairs; wall), sea lantern, magma block, seagrass, kelp, fire, lantern, lit campfire and their soul variants, lit blast furnace, heat block, stems, hyphae, lit smoker, stonecutter and command block.

Using resource packs, the player can change the textures and resolution of blocks, including whether their texture is animated. They can also change the shapes of blocks using models and the size of blocks to any size with equal width and height, though sizes that are a power of two tend to work better.

Technical blocks
Technical blocks serve various purposes during events within the game, or use a separate namespaced ID in order to avoid unnecessary combinations of block states. $$ technical blocks do not exist as items, while $$ they may be obtained using inventory editors or add-ons.

Education Edition only
These blocks can be accessed only $$ and $$ when education options are enabled (Elements are not listed here). $$, boards, posters, and slates can be obtained only through inventory editors.

Removed blocks
Removed blocks no longer exist in current versions of the game.

Outright removed blocks
These blocks were removed from the game entirely.

Removed through substitution
These blocks were "retconned" into other blocks through a major simultaneous name and texture change.

Extreme metadata variants
Some blocks and states of blocks were distinguished via numerical metadata in previous versions of the game. Having metadata values outside of the accepted range could produce unintended results for some block IDs.

Block additions and removals
''Unique blocks are defined as having unique namespaced IDs in current versions of Java Edition, excluding obvious technical variants such as potted plants and wall attachments of blocks, but including the rose. Unintentional metadata variants are also not included.''

Trivia

 * Certain blocks may interpret positions they cannot be placed in by normal means as a valid position. For example, a sign placed in midair via or through  remains in midair even when updated, until either it is broken, or a block is placed below it and broken.