How to use the light block in minecraft

Join Planet Minecraft!

We're a community of creatives sharing everything Minecraft! Even if you don't post your own creations, we appreciate feedback on ours. Join us!

Light is an important commodity in Minecraft. It helps players see things better, especially at night, as well as prohibits mobs from spawning (if there's enough light).

Light comes in the form of the sun when it's daytime, but when the sun begins to set, or if players are underground, light can become pretty scarce and that can be a problem when mining or exploring.

Moreover, light sources can often not be the best. Sea pickles, redstone torches and others can be difficult to see with and won't prevent mobs from spawning. There is one Minecraft light source that can be used without being seen and can provide a stellar light level: the invisible light blocks. Here's how to get them.

They’re adding invisible light source blocks to Minecraft and I’m just like 🥴🥴

Invisible light blocks in Minecraft

Invisible light blocks, usually just referred to as light blocks, are invisible blocks that can produce any light level from 0 to 15. Light blocks cannot be mined, similar to air. They exist, but can't be touched in Minecraft.

Different items produce different light levels, which can be to the player's advantage. Image via Minecraft

Light blocks with a light level of 0 do not attach to any block, meaning that breaking an adjacent block will not remove the light block. Since light blocks cannot be acquired through mining or any other natural way, there's only one way to get them and it's not through Creative.

Light blocks will not be found in the Creative menu, so they have to be acquired by a command. In Minecraft Bedrock, the syntax is "/give <target> light_block [amount: int] [data: int (0 - 15)] [components: json]" and in Java Edition it is "/give <target> minecraft:light{BlockStateTag: {level:"<int>"}}."

[ #Minecraft #Minecraftbuilds ] Made a build using some of the new minecraft blocks in 1.17, I'm a big fan of the new invisible light blocks very helpful for a build like this to give an illusion of a lit interior 💜 //t.co/I7rWeMoUPt

Since this is a command, it will have to be enabled, but will disable achievements on the world. Light blocks can then be placed in any place that a regular block can be. They will provide the set light level, which can be controlled when the command is input. This can be used to craft a mood in a Minecraft build with lighting.

For detailed guides, walkthroughs, tips & more, check out SK Minecraft Wiki

Edited by Rohit Mishra

This Minecraft tutorial explains how to craft a light block that emits a light level between 0 and 15.

In Minecraft, a light block is an item that you can not make with a crafting table or furnace. Instead you need to use the cheat called the /give command to get this item in the game.

Let's explore how to use cheats (game commands) to add a light block to your inventory.

Supported Platforms

The command to give a light block is available in the following versions of Minecraft:

PlatformSupported (Version*)
 Java Edition (PC/Mac)
Yes (1.17)
 Pocket Edition (PE)
Yes (1.17.0)
 Xbox 360
No
 Xbox One
Yes (1.17.0)
 PS3
No
 PS4
Yes (1.17.0)
 Wii U
No
 Nintendo Switch
Yes (1.17.0)
 Windows 10 Edition
Yes (1.17.0)
 Education Edition
Yes (1.17.30)

* The version that it was added or removed, if applicable.
NOTE: Pocket Edition (PE), Xbox One, PS4, Nintendo Switch, and Windows 10 Edition are now called Bedrock Edition. We will continue to show them individually for version history.

Requirements

To run game commands in Minecraft, you have to turn cheats on in your world.

Give Light Block Command

Examples

How to Enter the Command

1. Open the Chat Window

The easiest way to run a command in Minecraft is within the chat window. The game control to open the chat window depends on the version of Minecraft:

  • For Java Edition (PC/Mac), press the T key to open the chat window.
  • For Pocket Edition (PE), tap on the chat button
    at the top of the screen.
  • For Xbox One, press the D-Pad (right)
    on the controller.
  • For PS4, press the D-Pad (right)
    on the controller.
  • For Nintendo Switch, press the right arrow button
    on the controller.
  • For Windows 10 Edition, press the T key to open the chat window.
  • For Education Edition, press the T key to open the chat window.

2. Type the Command

In this example, we will give 64 light blocks with a light level of 7 to the player called DigMinecraft with the following command:

/give DigMinecraft light{BlockStateTag:{level:7}} 64

Type the command in the chat window. As you are typing, you will see the command appear in the lower left corner of the game window. Press the Enter key to run the command.

Once the cheat has been entered, the 64 light blocks will be added to the player's inventory.

You will see the message "Gave 64 [Light] to DigMinecraft" appear in the lower left corner of the game window. You have now given 64 light blocks with a light level of 7 to the player called DigMinecraft. These blocks are typically used by map makers, and once placed, they are invisible and players can walk through them just like air blocks.

Congratulations, you have learned how to craft a light block using the /give command in Minecraft.

Other Give Commands

You can use other give commands in Minecraft such as:

Command Generators

If you need help with /give commands, you can use these tools to automatically generate commands in Minecraft:

Other Game Commands

You can use other commands and cheats in Minecraft such as:

This article is about the invisible light-producing block. For light producing blocks in general, see Light § Light level.

Light blocks (in Bedrock Edition) or lights (in Java Edition) 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, in Bedrock Edition, 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 /give. In Bedrock Edition, 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: /give <target> light_block [amount: int] [data: int (0 - 15)] [components: json]. In Java Edition, using /give <target> minecraft:light{BlockStateTag: {level:"<int>"}} 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 with a light level of 9.

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.

In Bedrock Edition, 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.‌[Bedrock Edition only]

Light source[]

Light blocks produce their associated light level.

Sounds[]

Java Edition:

Bedrock Edition:

Data values[]

ID[]

Java Edition:

NameIdentifierFormBlock tagsTranslation key
LightlightBlock & Itemdragon_transparent
wither_immune
block.minecraft.light

Bedrock Edition:

  1. ID of block's direct item form, which is used in savegame files and addons.
  2. Available with /give command.
  3. The block's direct item form has the same id with the block.

Block states[]

Java Edition:

Name Default value Allowed values Description waterloggedlevel
falsetrue
false
Whether or not there's water in the same place as this light block.
150
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
The amount of light this block outputs.

Bedrock Edition:

NameMetadata Bits Default value Allowed valuesValues for
Metadata Bits Description block_light_level
0x1
0x2
0x4
0x8
00
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
The amount of light this block outputs.

History[]

Issues[]

Issues relating to "Light Block" are maintained on the bug tracker. Report issues there.

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.[3]

References[]

  1. MC-222013 – "Light blocks have transparent textures, but don't allow transparency" – resolved as "Fixed"
  2. MC-221833 – "Light blocks are not shown within structure block bounds with Show Invisible Blocks on" – resolved as "Fixed"
  3. MC-221617

Neuester Beitrag

Stichworte