In Minecraft, when cheats are enabled you can give yourself items using the command /give [user] [item] [count], e.g. /give user45623 dirt 32.

What is the item name to use for Lapis Lazuli? I've tried lapis_lazuli, lapis, lazuli, dye4, and dye_4, but it's none of those.

  • 1
    /give pretty_blue_things, obviously
    – Sumurai8
    Mar 2, 2016 at 18:07

4 Answers 4


Lapis Lazuli is a dye. Each dye shares the same name and relies on the data value to determine what type of dye it is. To spawn it in, you need to specify that data value using /give's fourth argument:

/give <player> <item> [count] [datavalue]

To give a player one Lapis Lazuli, you need to specify a data value of 4:

/give <player> dye 1 4

These data values encompass other items too, like cocoa beans, bone meal, and ink sacs, which have data values 3, 15, and 0, respectively.

Source: Data value of Lapis Lazuli

  • 9
    Now I understand how wood works too! Do you have any idea what a ****ing nightmare it is just trying to look up how to give yourself wood? ...that came out wrong.
    – user45623
    Mar 2, 2016 at 8:46
  • This answer is outdated. Please see my new answer below.
    – One 2 Many
    May 28, 2021 at 17:13

From the wiki:

Lapis Lazuli has the ID name minecraft:dye, with a data value of 4. So do this:

/give player minecraft:dye 1 4

To get one of them.

  • Damn. You ninja'd me. +1
    – aytimothy
    Mar 2, 2016 at 4:40
  • @aytimothy - sorry! :) Mar 2, 2016 at 4:41
  • FYI, prepending the ID names with "minecraft:" is totally unnecessary and just making more work for yourself. I gave Tim the check because his answer was slightly more thorough, but you get an upvote
    – user45623
    Mar 2, 2016 at 8:48
  • @user45623 - no problem, glad we both could help. Yes, the 'minecraft' bit is not needed because that's the default namespace. I included it for clarity though, because it's unambiguous then. By the way, you can use /help to get the summary of any command, if you forget (this one is not particularly obvious, I have to admit). Mar 2, 2016 at 17:27

1.13+ Update

Data values have been abolished in favour of separate item IDs. So now instead of dye with the data value for a colour, they now go by the item name. Lapis Lazuli's item name is minecraft:lapis_lazuli

/give @s minecraft:lapis_lazuli

To give lapis lazuli to yourself:

/give @s lapis_lazuli <amount>

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .