Light Block

Light blocks ($$) or lights ($$) are invisible blocks, primarily intended for map makers, that can produce any light level from 0 to 15. The light block is also the only light-emitting block capable of producing light level 8.

Obtaining
Light blocks cannot be mined, similar to air, and can be targeted only if the player is holding a Light item in the main hand. Light blocks with a light level of 0 are 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 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. The command is:. $$, 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.

$$, light blocks appear to be slippery, much like ice. This can be seen by walking over the top of one with the help of another 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.

When pressing use on a light block while a light block is held in the main hand, the light level of the light block increases by one, if the light level is already 15, it resets to 0.

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

Light source
Light blocks produce their associated light level.

ID




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.