How to Give a Light Block in Minecraft
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:
Platform | Supported (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
- Java
- PE
- Xbox
- PS
- Nintendo
- Win10
- Edu
Give Light Block Command in Minecraft Java Edition (PC/Mac)
In Minecraft Java Edition (PC/Mac), the /give command has different syntaxes depending on how you want to customize the light block.
To give a player a light block (with a default light level of 15):
/give <player> light [amount]
To give a player a light block and set the light level:
/give <player> light{BlockStateTag:{level:<light_level_value>}} [amount]
Definitions
- player is the name of the player (or a target selector) that you wish to give the light block to.
- amount is optional. It is the number of light blocks that you want to give. If you don't specify an amount, the player will be given 1 light block.
- light_level_value is an integer value between 0 and 15 that determines the light level emitted by the light block. The default is 15.
Give Light Block Command in Minecraft Pocket Edition (PE)
In Minecraft Pocket Edition (PE), the /give command has different syntaxes depending on how you want to customize the light block.
To give a player a light block (with a default light level of 0):
/give <player> light_block [amount]
To give a player a light block and set the light level:
/give <player> light_block [amount] [light_level_value]
Definitions
- player is the name of the player (or a target selector) that you wish to give the light block to.
- amount is optional. It is the number of light blocks that you want to give. If you don't specify an amount, the player will be given 1 light block.
- light_level_value is an integer value between 0 and 15 that determines the light level emitted by the light block. The default is 0.
Give Light Block Command in Xbox One Edition
In Minecraft Xbox One Edition, the /give command has different syntaxes depending on how you want to customize the light block.
To give a player a light block (with a default light level of 0):
/give <player> light_block [amount]
To give a player a light block and set the light level:
/give <player> light_block [amount] [light_level_value]
Definitions
- player is the name of the player (or a target selector) that you wish to give the light block to.
- amount is optional. It is the number of light blocks that you want to give. If you don't specify an amount, the player will be given 1 light block.
- light_level_value is an integer value between 0 and 15 that determines the light level emitted by the light block. The default is 0.
Give Light Block Command in PS4 Edition
In Minecraft PS4 Edition, the /give command has different syntaxes depending on how you want to customize the light block.
To give a player a light block (with a default light level of 0):
/give <player> light_block [amount]
To give a player a light block and set the light level:
/give <player> light_block [amount] [light_level_value]
Definitions
- player is the name of the player (or a target selector) that you wish to give the light block to.
- amount is optional. It is the number of light blocks that you want to give. If you don't specify an amount, the player will be given 1 light block.
- light_level_value is an integer value between 0 and 15 that determines the light level emitted by the light block. The default is 0.
Give Light Block Command in Nintendo Switch Edition
In Minecraft Nintendo Switch Edition, the /give command has different syntaxes depending on how you want to customize the light block.
To give a player a light block (with a default light level of 0):
/give <player> light_block [amount]
To give a player a light block and set the light level:
/give <player> light_block [amount] [light_level_value]
Definitions
- player is the name of the player (or a target selector) that you wish to give the light block to.
- amount is optional. It is the number of light blocks that you want to give. If you don't specify an amount, the player will be given 1 light block.
- light_level_value is an integer value between 0 and 15 that determines the light level emitted by the light block. The default is 0.
Give Light Block Command in Minecraft Windows 10 Edition
In Minecraft Windows 10 Edition, the /give command has different syntaxes depending on how you want to customize the light block.
To give a player a light block (with a default light level of 0):
/give <player> light_block [amount]
To give a player a light block and set the light level:
/give <player> light_block [amount] [light_level_value]
Definitions
- player is the name of the player (or a target selector) that you wish to give the light block to.
- amount is optional. It is the number of light blocks that you want to give. If you don't specify an amount, the player will be given 1 light block.
- light_level_value is an integer value between 0 and 15 that determines the light level emitted by the light block. The default is 0.
Give Light Block Command in Minecraft Education Edition
In Minecraft Education Edition, the /give command has different syntaxes depending on how you want to customize the light block.
To give a player a light block (with a default light level of 0):
/give <player> light_block [amount]
To give a player a light block and set the light level:
/give <player> light_block [amount] [light_level_value]
Definitions
- player is the name of the player (or a target selector) that you wish to give the light block to.
- amount is optional. It is the number of light blocks that you want to give. If you don't specify an amount, the player will be given 1 light block.
- light_level_value is an integer value between 0 and 15 that determines the light level emitted by the light block. The default is 0.
Examples
- Java
- PE
- Xbox
- PS
- Nintendo
- Win10
- Edu
Example in Java Edition (PC/Mac)
To give 8 light blocks to the nearest player in Minecraft Java Edition (PC/Mac):
/give @p light 8
To give 64 light blocks with a light level of 7 to the player named DigMinecraft:
/give DigMinecraft light{BlockStateTag:{level:7}} 64
Example in Pocket Edition (PE)
To give 1 light block to the player named Axe2Grind in Minecraft PE:
/give Axe2Grind light_block
To give 64 light blocks with a light level of 15 to all players:
/give @a light_block 64 15
Example in Xbox One Edition
To give 1 light block to the player named TheEarthMover in Minecraft Xbox One Edition:
/give TheEarthMover light_block
To give 10 light blocks with a light level of 8 to a random player:
/give @r light_block 10 8
Example in PS4 Edition
To give 1 light block to the player named DigMinecraft in Minecraft PS4 Edition:
/give DigMinecraft light_block
To give 12 light blocks with a light level of 4 to all players:
/give @a light_block 12 4
Example in Nintendo Switch Edition
To give 1 light block to the player named DigMinecraft in Minecraft Nintendo Switch Edition:
/give DigMinecraft light_block
To give 5 light blocks with a light level of 10 to the nearest player:
/give @p light_block 5 10
Example in Windows 10 Edition
To give 2 light blocks to the player named TheExcavator in Minecraft Windows 10 Edition:
/give TheExcavator light_block 2
To give 3 light blocks with a light level of 6 to the nearest player:
/give @p light_block 3 6
Example in Education Edition
To give 1 light block to the player named TheEarthMover in Minecraft Education Edition:
/give TheEarthMover light_block
To give 2 light blocks with a light level of 7 to the nearest player:
/give @p light_block 2 7
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: