How to do it
- Check the edition and version on your Minecraft title screen. This tool supports Java Edition.
- Enable cheats in your world or obtain operator permissions on your server.
- Choose your version below, copy the command, and paste it into chat using T.
Java 1.21.4 example
/give @p minecraft:light 1
Light blocks are available in Creative mode starting from Java 1.17 (within the 1.16.5–1.20.4 range, 1.16.5 itself does not include this block). Hold a light block to see placed sources and right-click to cycle brightness.
Other releases, apart from the listed releases, may use different syntax. The interactive form only generates commands for the selected supported version.