Arqade is a question and answer site for passionate videogamers on all platforms. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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.

share|improve this question
    
/give pretty_blue_things, obviously – Sumurai8 Mar 2 at 18:07
up vote 10 down vote accepted

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

share|improve this answer
7  
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 at 8:46

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.

share|improve this answer
    
Damn. You ninja'd me. +1 – aytimothy Mar 2 at 4:40
    
@aytimothy - sorry! :) – ire_and_curses Mar 2 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 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). – ire_and_curses Mar 2 at 17:27

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.