Light Block

Light blocks are invisible blocks, primarily intended for map makers, that can produce any light level from 0 to 15.

Obtaining
Light blocks cannot be mined or targeted, similar to air. Light blocks with a light level of 0 are generally functionally identical to air. They do not attach to any block, meaning that breaking an adjacent block does not remove the light block. However, they can be broken by replacing them with another block. The exception is water (including, $$, flowing water), which can occupy the same space as a light block. See Waterlogging for more information.

Light blocks are not in the player's Creative inventory. They can be obtained using commands such as. $$, specifying the data value from 0 to 15 determines the block's light level; if the data value is not specified, the light block emits a light level of 0. $$, using can give a light block with a specific light level and corresponding model. If the level is below 0, the non-bulb texture is used, and above 15 the level 15 texture. If the block state is not specified or not between 0 and 15, the light block emits a light level of 15.

Usage
A light block is intended for use in adventure maps.

Each light block (as a block or as an item) has an associated light level, which can be anything from 0 to 15. In the player's inventory, light blocks display their light level in the top-left corner and appear "brighter" at higher light levels.

$$, when placed as blocks, light blocks are non-solid and completely invisible. Unlike barriers and structure void, they do not reappear when the player is holding another light block.

$$, light blocks have a hitbox only when a light block is selected in the main hand; the particle appears only when selected in the main hand, and in creative mode.

Light blocks are detected by observers, can be waterlogged and can be pushed and pulled by pistons.

Light source
Light blocks produce their associated light level.

ID




Metadata
Each light block has a data value from 0 to 15, which determines its light level.

Trivia

 * In Java Edition, light blocks were the only item to have a high-definition texture (32×32 instead of 16×16) until they were given new textures in 21w18a.