Minecraft:Light (block): Difference between revisions
More actions
Remove broken links to missing pages |
Fix template calls: add MC/ prefix |
||
| Line 32: | Line 32: | ||
Light blocks cannot be mined, similar to [[Minecraft: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. | Light blocks cannot be mined, similar to [[Minecraft: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 [[Minecraft:block]], meaning that breaking an adjacent block does not remove the light block. However, they can be broken by replacing them with another block.<ref>{{bug|MC-263398|||WAI}}</ref> The exception is [[Minecraft:water]] (including, {{ | They do not attach to any [[Minecraft:block]], meaning that breaking an adjacent block does not remove the light block. However, they can be broken by replacing them with another block.<ref>{{bug|MC-263398|||WAI}}</ref> The exception is [[Minecraft:water]] (including, {{MC/In|be}}, flowing water), which can occupy the same space as a light block. See Waterlogging for more information. | ||
{{ | {{MC/In|Java}}, light blocks are available in the [[Minecraft:Creative inventory]]. Across both ''Java Edition'' and ''Bedrock Edition'', they can also be obtained by using commands such as {{MC/Cmd|give}}. Using {{cmd|1=give <target> minecraft:light[block_state={level:"<int>"}<nowiki>]</nowiki>}} can give a light block with a specific light level and corresponding texture. 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. {{MC/In|be}}, 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: {{MC/Cmd|give <target> light_block [amount: int] [data: int (0 - 15)] [components: json]}}. | ||
== Usage == | == Usage == | ||
| Line 56: | Line 56: | ||
Liquids such as water and lava cannot pass through light blocks unless they are waterlogged (either with the debug stick or by placing water on either side of the block.) but falling blocks like sand, gravel, and anvils pass through the Light block as if it is air. If a falling block lands on a light block, or another block is placed over it, the light block is destroyed. | Liquids such as water and lava cannot pass through light blocks unless they are waterlogged (either with the debug stick or by placing water on either side of the block.) but falling blocks like sand, gravel, and anvils pass through the Light block as if it is air. If a falling block lands on a light block, or another block is placed over it, the light block is destroyed. | ||
Light blocks are detected by [[Minecraft:observer]]s, and {{ | Light blocks are detected by [[Minecraft:observer]]s, and {{MC/In|bedrock}} they can be pushed and pulled by [[Minecraft:piston]]s. | ||
=== Light source === | === Light source === | ||
| Line 62: | Line 62: | ||
== Sounds == | == Sounds == | ||
{{Sound table/Block/Stone}} | {{MC/Sound table/Block/Stone}} | ||
== Data values == | == Data values == | ||
=== ID === | === ID === | ||
{{ | {{MC/Edition|java}}: | ||
{{ID table | {{ID table | ||
|edition=java | |edition=java | ||
| Line 78: | Line 78: | ||
|foot=1}} | |foot=1}} | ||
{{ | {{MC/Edition|bedrock}}: | ||
{{ID table2 | {{ID table2 | ||
|edition=bedrock | |edition=bedrock | ||
| Line 215: | Line 215: | ||
=== Block states === | === Block states === | ||
{{ | {{MC/See also|Block states}} | ||
{{ | {{MC/Edition|java}}: | ||
{{bst|waterlogged|false|true,false|Whether or not there's water in the same place as this light block.}} | {{bst|waterlogged|false|true,false|Whether or not there's water in the same place as this light block.}} | ||
{{bst|level|15|0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15|The amount of light this block outputs.|foot=1}} | {{bst|level|15|0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15|The amount of light this block outputs.|foot=1}} | ||
| Line 224: | Line 224: | ||
=== ''Java Edition'' === | === ''Java Edition'' === | ||
{{HistoryTable | {{HistoryTable | ||
|{{HistoryLine|java}} | |{{MC/HistoryLine|java}} | ||
|{{HistoryLine||1.17|dev=21w13a|[[File:Light 0 JE1.png|32px]] [[File:Light 1 JE1.png|32px]] [[File:Light 2 JE1.png|32px]] [[File:Light 3 JE1.png|32px]] [[File:Light 4 JE1.png|32px]] [[File:Light 5 JE1.png|32px]] [[File:Light 6 JE1.png|32px]] [[File:Light 7 JE1.png|32px]] [[File:Light 8 JE1.png|32px]] [[File:Light 9 JE1.png|32px]] [[File:Light 10 JE1.png|32px]] [[File:Light 11 JE1.png|32px]] [[File:Light 12 JE1.png|32px]] [[File:Light 13 JE1.png|32px]] [[File:Light 14 JE1.png|32px]] [[File:Light 15 JE1.png|32px]] Added lights. | |{{HistoryLine||1.17|dev=21w13a|[[File:Light 0 JE1.png|32px]] [[File:Light 1 JE1.png|32px]] [[File:Light 2 JE1.png|32px]] [[File:Light 3 JE1.png|32px]] [[File:Light 4 JE1.png|32px]] [[File:Light 5 JE1.png|32px]] [[File:Light 6 JE1.png|32px]] [[File:Light 7 JE1.png|32px]] [[File:Light 8 JE1.png|32px]] [[File:Light 9 JE1.png|32px]] [[File:Light 10 JE1.png|32px]] [[File:Light 11 JE1.png|32px]] [[File:Light 12 JE1.png|32px]] [[File:Light 13 JE1.png|32px]] [[File:Light 14 JE1.png|32px]] [[File:Light 15 JE1.png|32px]] Added lights. | ||
|[[File:Light (held) JE1.png|32px]] Unlike {{ | |[[File:Light (held) JE1.png|32px]] Unlike {{MC/In|Bedrock}}, while a player is holding the item, a particle is displayed similar to a [[Minecraft:barrier]].}} | ||
|{{HistoryLine|||dev=21w18a|[[File:Light 0 JE2.png|32px]] [[File:Light 1 JE2.png|32px]] [[File:Light 2 JE2.png|32px]] [[File:Light 3 JE2.png|32px]] [[File:Light 4 JE2.png|32px]] [[File:Light 5 JE2.png|32px]] [[File:Light 6 JE2.png|32px]] [[File:Light 7 JE2.png|32px]] [[File:Light 8 JE2.png|32px]] [[File:Light 9 JE2.png|32px]] [[File:Light 10 JE2.png|32px]] [[File:Light 11 JE2.png|32px]] [[File:Light 12 JE2.png|32px]] [[File:Light 13 JE2.png|32px]] [[File:Light 14 JE2.png|32px]] [[File:Light 15 JE2.png|32px]] The textures of lights has been changed.}} | |{{MC/HistoryLine|||dev=21w18a|[[File:Light 0 JE2.png|32px]] [[File:Light 1 JE2.png|32px]] [[File:Light 2 JE2.png|32px]] [[File:Light 3 JE2.png|32px]] [[File:Light 4 JE2.png|32px]] [[File:Light 5 JE2.png|32px]] [[File:Light 6 JE2.png|32px]] [[File:Light 7 JE2.png|32px]] [[File:Light 8 JE2.png|32px]] [[File:Light 9 JE2.png|32px]] [[File:Light 10 JE2.png|32px]] [[File:Light 11 JE2.png|32px]] [[File:Light 12 JE2.png|32px]] [[File:Light 13 JE2.png|32px]] [[File:Light 14 JE2.png|32px]] [[File:Light 15 JE2.png|32px]] The textures of lights has been changed.}} | ||
|{{HistoryLine|||dev=21w20a|[[File:Light 0 JE3.png|32px]] [[File:Light 1 JE3.png|32px]] [[File:Light 2 JE3.png|32px]] [[File:Light 3 JE3.png|32px]] [[File:Light 4 JE3.png|32px]] [[File:Light 5 JE3.png|32px]] [[File:Light 6 JE3.png|32px]] [[File:Light 7 JE3.png|32px]] [[File:Light 8 JE3.png|32px]] [[File:Light 9 JE3.png|32px]] [[File:Light 10 JE3.png|32px]] [[File:Light 11 JE3.png|32px]] [[File:Light 12 JE3.png|32px]] [[File:Light 13 JE3.png|32px]] [[File:Light 14 JE3.png|32px]] [[File:Light 15 JE3.png|32px]] The textures of lights has been changed, again. | |{{MC/HistoryLine|||dev=21w20a|[[File:Light 0 JE3.png|32px]] [[File:Light 1 JE3.png|32px]] [[File:Light 2 JE3.png|32px]] [[File:Light 3 JE3.png|32px]] [[File:Light 4 JE3.png|32px]] [[File:Light 5 JE3.png|32px]] [[File:Light 6 JE3.png|32px]] [[File:Light 7 JE3.png|32px]] [[File:Light 8 JE3.png|32px]] [[File:Light 9 JE3.png|32px]] [[File:Light 10 JE3.png|32px]] [[File:Light 11 JE3.png|32px]] [[File:Light 12 JE3.png|32px]] [[File:Light 13 JE3.png|32px]] [[File:Light 14 JE3.png|32px]] [[File:Light 15 JE3.png|32px]] The textures of lights has been changed, again. | ||
|The rarity of light has been changed from "Common" to "Epic".}} | |The rarity of light has been changed from "Common" to "Epic".}} | ||
|{{HistoryLine||1.18|dev=21w42a|The respective item texture of lights is now used as the particle instead of four yellow stars, matching {{ | |{{HistoryLine||1.18|dev=21w42a|The respective item texture of lights is now used as the particle instead of four yellow stars, matching {{MC/El|be}}.<ref>{{bug|MC-233771||Parity issue: Light blocks do not display their light level when shown via a held light block item|Fixed}}</ref> | ||
|The texture for the four stars now used only as placeholder texture by item model.<ref>{{bug|MC-239401}}</ref>}} | |The texture for the four stars now used only as placeholder texture by item model.<ref>{{bug|MC-239401}}</ref>}} | ||
|{{HistoryLine||1.19|dev=22w11a|[[Minecraft:Wither]]s and ender dragons can no longer break light blocks.}} | |{{MC/HistoryLine||1.19|dev=22w11a|[[Minecraft:Wither]]s and ender dragons can no longer break light blocks.}} | ||
|{{HistoryLine||1.19.3|dev=22w44a|Light blocks are now available in the [[Minecraft:Creative inventory]], but only if cheats are enabled.}} | |{{MC/HistoryLine||1.19.3|dev=22w44a|Light blocks are now available in the [[Minecraft:Creative inventory]], but only if cheats are enabled.}} | ||
|{{HistoryLine|||dev=22w45a|Moved light blocks behind the "Operator Utilities" tab in the Creative inventory. The tab is available only if cheats are enabled and the "Operator Items Tab" option in the controls menu is turned on.}} | |{{MC/HistoryLine|||dev=22w45a|Moved light blocks behind the "Operator Utilities" tab in the Creative inventory. The tab is available only if cheats are enabled and the "Operator Items Tab" option in the controls menu is turned on.}} | ||
}} | }} | ||
=== ''Bedrock Edition'' === | === ''Bedrock Edition'' === | ||
{{HistoryTable | {{HistoryTable | ||
|{{HistoryLine|bedrock}} | |{{MC/HistoryLine|bedrock}} | ||
|{{HistoryLine||1.13.0|dev=beta 1.13.0.4|Added textures for Light Blocks. | |{{MC/HistoryLine||1.13.0|dev=beta 1.13.0.4|Added textures for Light Blocks. | ||
|[[File:Light 0 BE1.png|32px]] [[File:Light 1 BE1.png|32px]] [[File:Light 2 BE1.png|32px]] [[File:Light 3 BE1.png|32px]] [[File:Light 4 BE1.png|32px]] [[File:Light 5 BE1.png|32px]] [[File:Light 6 BE1.png|32px]] [[File:Light 7 BE1.png|32px]] [[File:Light 8 BE1.png|32px]] [[File:Light 9 BE1.png|32px]] [[File:Light 10 BE1.png|32px]] [[File:Light 11 BE1.png|32px]] [[File:Light 12 BE1.png|32px]] [[File:Light 13 BE1.png|32px]] [[File:Light 14 BE1.png|32px]] [[File:Light 15 BE1.png|32px]] Added Light Blocks. | |[[File:Light 0 BE1.png|32px]] [[File:Light 1 BE1.png|32px]] [[File:Light 2 BE1.png|32px]] [[File:Light 3 BE1.png|32px]] [[File:Light 4 BE1.png|32px]] [[File:Light 5 BE1.png|32px]] [[File:Light 6 BE1.png|32px]] [[File:Light 7 BE1.png|32px]] [[File:Light 8 BE1.png|32px]] [[File:Light 9 BE1.png|32px]] [[File:Light 10 BE1.png|32px]] [[File:Light 11 BE1.png|32px]] [[File:Light 12 BE1.png|32px]] [[File:Light 13 BE1.png|32px]] [[File:Light 14 BE1.png|32px]] [[File:Light 15 BE1.png|32px]] Added Light Blocks. | ||
|[[File:Missing Tile (texture) BE1.png|32px]] Light blocks have a second form with an ID of <code>-215</code> and the following identifier: <code>item.light_block</code>. They also use the placeholder texture.}} | |[[File:Missing Tile (texture) BE1.png|32px]] Light blocks have a second form with an ID of <code>-215</code> and the following identifier: <code>item.light_block</code>. They also use the placeholder texture.}} | ||
|{{HistoryLine||1.13.0|dev=beta 1.13.0.13|The second form of the light block has been removed.}} | |{{MC/HistoryLine||1.13.0|dev=beta 1.13.0.13|The second form of the light block has been removed.}} | ||
|{{HistoryLine||1.17.30|dev=beta 1.17.20.22|Light blocks now reveal a particle when the player is holding the item, showing the respective item texture as the particle.}} | |{{MC/HistoryLine||1.17.30|dev=beta 1.17.20.22|Light blocks now reveal a particle when the player is holding the item, showing the respective item texture as the particle.}} | ||
|{{HistoryLine|||dev=beta 1.17.30.20|Right-clicking a light block with another now changes its light level by 1. | |{{MC/HistoryLine|||dev=beta 1.17.30.20|Right-clicking a light block with another now changes its light level by 1. | ||
|Left-clicking a light block while holding a light block now removes it.}} | |Left-clicking a light block while holding a light block now removes it.}} | ||
|{{HistoryLine||1.18.0|dev=beta 1.18.0.22|Light blocks are now invulnerable to explosions.}} | |{{MC/HistoryLine||1.18.0|dev=beta 1.18.0.22|Light blocks are now invulnerable to explosions.}} | ||
|{{HistoryLine||1.20.30|dev=Preview 1.20.20.21|Increased the blast resistance of light blocks from 3,600,000 to 3,600,000.8.}} | |{{MC/HistoryLine||1.20.30|dev=Preview 1.20.20.21|Increased the blast resistance of light blocks from 3,600,000 to 3,600,000.8.}} | ||
|{{HistoryLine||1.20.70|dev=Preview 1.20.70.22|Light block no longer drops itself when breaking.}} | |{{MC/HistoryLine||1.20.70|dev=Preview 1.20.70.22|Light block no longer drops itself when breaking.}} | ||
|{{HistoryLine||1.21.20|dev=Preview 1.21.20.21|The different block states for the <code>light_block</code> ID have been split up into their own IDs.}} | |{{MC/HistoryLine||1.21.20|dev=Preview 1.21.20.21|The different block states for the <code>light_block</code> ID have been split up into their own IDs.}} | ||
|{{HistoryLine||1.21.30|dev=Preview 1.21.30.22|Changed name from "Light Block" to "Light" to match {{JE}}.}} | |{{HistoryLine||1.21.30|dev=Preview 1.21.30.22|Changed name from "Light Block" to "Light" to match {{MC/JE}}.}} | ||
}} | }} | ||
| Line 303: | Line 303: | ||
== Issues == | == Issues == | ||
{{Issue list|\"light block\"|\"light blocks\"}} | {{MC/Issue list|\"light block\"|\"light blocks\"}} | ||
== References == | == References == | ||
{{Reflist}} | {{MC/Reflist}} | ||
== Navigation == | == Navigation == | ||
{{Navbox_Invisible_Blocks}} | {{Navbox_Invisible_Blocks}} | ||
{{Navbox blocks|creative}} | {{MC/Navbox blocks|creative}} | ||
Revision as of 20:34, 9 April 2026
|
For the {{{Description}}} of the same name, see [[{{{Destination}}}]]. |
Template:Infobox block Lights are invisible blocks, primarily intended for map makers, that can produce any light level from 0 to 15.
Obtaining
Light blocks cannot be mined, similar to Minecraft: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 Minecraft:block, meaning that breaking an adjacent block does not remove the light block. However, they can be broken by replacing them with another block.<ref>Template:Bug</ref> The exception is Minecraft:water (including, in Template:Editions, flowing water), which can occupy the same space as a light block. See Waterlogging for more information.
in Template:Editions, light blocks are available in the Minecraft:Creative inventory. Across both Java Edition and Bedrock Edition, they can also be obtained by using commands such as
- REDIRECT Template:Command
Template:Redr. Using Template:Cmd can give a light block with a specific light level and corresponding texture. 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. in Template:Editions, 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:
- REDIRECT Template:Command
Usage
Each light block has an associated light level, which can be any value from 0 to 15. In the player's Minecraft:inventory, light blocks display their light level in the top-left corner with a unique sprite for each light level.
Placement and Interaction
Light blocks are mainly used in Creative mode, so the description below mainly applies to that mode.
Light blocks are not visible, and have no hitbox unless the player is holding another light block in their main hand. When the player holds a light block, any placed light block become interactive, displaying a small icon in the center indicating the block's location and current light level. The block icon is a particle, and does not become visible if particles are set to their lowest setting, although the hitbox remains visible and interactive until the light block leaves the player's main hand.
When holding a light block in the main hand, clicking 'use' on a light block that is already placed on the ground causes the light level of the light block to increase by one. If the light level is already 15, it resets to 0. If a light block's level has been modified, it can be copied back into the player's hotbar by using the 'pick block' button while holding another light block.
In Survival mode, a light block can be placed, however only its hitbox is visible, and the block is not interactive (it does not allow to increase its level).
In Adventure mode, a light block cannot be placed, and already placed blocks are completely invisible and inaccessible (only the light they produce is visible).
Behavior
Liquids such as water and lava cannot pass through light blocks unless they are waterlogged (either with the debug stick or by placing water on either side of the block.) but falling blocks like sand, gravel, and anvils pass through the Light block as if it is air. If a falling block lands on a light block, or another block is placed over it, the light block is destroyed.
Light blocks are detected by Minecraft:observers, and in Template:Editions they can be pushed and pulled by Minecraft:pistons.
Light source
Since light blocks produce light, their primary use is to illuminate certain areas of the world.
Sounds
Data values
ID
Template:!((Java EditionTemplate:))!: Template:ID table
Template:!((Bedrock EditionTemplate:))!: Template:ID table2 Template:ID table2 Template:ID table2 Template:ID table2 Template:ID table2 Template:ID table2 Template:ID table2 Template:ID table2 Template:ID table2 Template:ID table2 Template:ID table2 Template:ID table2 Template:ID table2 Template:ID table2 Template:ID table2 Template:ID table2
Block states
{{#vardefine:params|0 }}Template:Hatnote
Template:!((Java EditionTemplate:))!: Template:Bst Template:Bst
History
Java Edition
Bedrock Edition
Gallery
Renders
- Java Edition
- Bedrock Edition
Screenshots
-
The light block as seen with a structure block in save mode.
-
A screenshot displaying the way light blocks can prevent the flow of water and lava, as well as being waterlogged.
Issues
Script error: No such module "Issue list".
References
<references group="">
</references>
Template:Navbox Invisible Blocks
Template:Article otherTemplate:Article other
de:Lichtblock es:Luz (bloque) fr:Lumière (bloc) ja:ライトブロック ko:빛 (블록) pl:Blok światła pt:Luz (bloco) ru:Блок света uk:Світло (блок) zh:光源方块