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, vines, snow layers, turtle eggs and sea pickles.

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, with the exception of sand, red sand, gravel, anvils, dragon eggs, concrete powder, scaffolding, and snow.

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 are blocks which 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.)

• Allow.png Allow

• Blue Torch.png Blue Torch

• Chalkboard Board.png Board

• Border.png Border

• Compound Creator.png Compound Creator

• Deny.png Deny

• Element Constructor.png Element Constructor

• Green Torch.png Green Torch

• Heat Block.gif Heat Block

• Lab Table.png Lab Table

• Material Reducer.png Material Reducer

• Chalkboard Poster.png Poster

• Purple Torch.png Purple Torch

• Red Torch.png Red Torch

• Chalkboard Slate.png Slate

• Underwater TNT.png Underwater TNT

• Underwater Torch.png Underwater Torch

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

• Dead Coral Block JE1.png Dead Coral Block

• Gear-inventory.png Gear

• Dirt JE2 BE1.png Grassless Dirt

• Chest (S) JE1.png Locked chest

• Potted Rose.png Potted Rose

• Rose JE1.png Rose BE1.png Rose

• Shrub.png Green Shrub.png Shrub

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.