Pixel art illustration of an allium in chunky voxel game style
Minecraft Java Item ID

Allium ID

Allium is a small flower found growing in the Overworld, used for decoration, breeding bees, and crafting dye. It can be potted, composted, and regrown with bone meal on grass blocks.

✓ Verified for Java Edition 1.21.11
Namespaced item ID minecraft:allium

Allium Item Facts

Maximum stack64
Available inSurvival and Creative
Shared ID, data value 2 (Java 1.12.2 and earlier)38

Shared ID, data value 2 (Java 1.12.2 and earlier): Reviewed for Java Edition 1.12.2 and earlier.

Give Command for Allium

Copy the current Java Edition command, or open the generator to change the player and quantity.

/give @p minecraft:allium 1

Customize this command →

Historical command for Java 1.12.2 and earlier

Modern namespaced IDs are recommended. This numerical form is only for old Java releases.

/give @p 38 1

Give command syntax by version

Java 1.13+
/give @p minecraft:allium 1
Namespaced ID (current format)
Java 1.8–1.12.2
/give @p 38 1 2
Numerical ID + data value

Rows appear only when the underlying value is verified: the Java 1.8–1.12.2 row requires a reviewed historical numerical ID, and the Bedrock row appears only when this exact namespaced ID exists in the Bedrock registry.

How to Get Allium

Finding Allium

  • Mine Allium blocks.
  • Dropped when mining Potted Allium.

Prefer commands? Jump back to the give command matrix above to get Allium instantly.

What Can You Craft With Allium?

Allium is a crafting ingredient in 2 reviewed recipes:

Build With Allium

minecraft:allium is in the reviewed block catalog. Open a command tool with this ID already selected, then adjust the coordinates in the tool.

Need a different material? Browse Minecraft Block IDs or compare the related blocks below.

About Allium in Minecraft

Allium is a small flower found growing in the Overworld, used for decoration, breeding bees, and crafting dye. It can be potted, composted, and regrown with bone meal on grass blocks.

Allium Command Examples

  • Give 1 to nearest player: /give @p minecraft:allium 1
  • Give 1 to yourself: /give @s minecraft:allium 1
  • Give to a specific player: /give PlayerName minecraft:allium 1
  • Clear from inventory: /clear @p minecraft:allium

Allium FAQ

What is the item ID for Allium?

The item ID for Allium is minecraft:allium. Java Edition commands such as /give, /clear, and /setblock use this namespaced ID.

What is the numerical ID for Allium?

Allium has the historical numerical ID 38 with data value 2, used in Java Edition 1.12.2 and earlier. Current versions use minecraft:allium instead.

How do I give myself Allium in Minecraft?

Open the chat window and run /give @p minecraft:allium 1 to give the nearest player one Allium. Replace @p with a player name to target someone else.

How many Allium can stack in one slot?

Allium stacks up to 64 per inventory slot.

What can you craft with Allium?

Allium is used to craft Magenta Dye, Suspicious Stew.

Sources and Data Review

Item facts were reviewed for Java Edition 1.21.11 on .

Related Natural Blocks

Item ID: minecraft:obsidian
Item ID: minecraft:netherrack
Item ID: minecraft:grass_block
Item ID: minecraft:dirt
Item ID: minecraft:coarse_dirt
Item ID: minecraft:podzol