TransWikia.com

What is the correct name to use with /give for Lapis Lazuli?

Arqade Asked on August 20, 2021

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.

4 Answers

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

Correct answer by MemoryPenguin on August 20, 2021

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.

Answered by ire_and_curses on August 20, 2021

To give lapis lazuli to yourself:

/give @s lapis_lazuli <amount>

Answered by minecraft_cheats on August 20, 2021

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

Answered by ExpertCoder14 on August 20, 2021

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP