Pixel art illustration of a small pile of forest green dye powder with scattered grains
Minecraft Java Item ID

Green Dye ID

Green dye is a coloring item used on wool, terracotta, leather armor, and more. It comes from smelting cactus.

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

Green Dye Item Facts

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

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

Give Command for Green Dye

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

/give @p minecraft:green_dye 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 351 1

Give command syntax by version

Java 1.13+
/give @p minecraft:green_dye 1
Namespaced ID (current format)
Java 1.8–1.12.2
/give @p 351 1 2
Numerical ID + data value
Bedrock Edition
/give @p minecraft:green_dye 1
Same namespaced ID (namespace optional)

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 Green Dye

Finding Green Dye

Green Dye cannot be crafted at a crafting table. It must be obtained through normal gameplay.

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

What Can You Craft With Green Dye?

Green Dye is a crafting ingredient in 11 reviewed recipes:

Green Dye Command Examples

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

Green Dye FAQ

What is the item ID for Green Dye?

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

What is the numerical ID for Green Dye?

Green Dye has the historical numerical ID 351 with data value 2, used in Java Edition 1.12.2 and earlier. Current versions use minecraft:green_dye instead.

How do I give myself Green Dye in Minecraft?

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

How many Green Dye can stack in one slot?

Green Dye stacks up to 64 per inventory slot.

What can you craft with Green Dye?

Green Dye is used to craft Green Wool, Green Terracotta, Green Carpet, Green Stained Glass, and 7 more recipes.

Sources and Data Review

Item facts were reviewed for Java Edition 1.21.11 on .

Related Dyes

Item ID: minecraft:black_dye
Item ID: minecraft:blue_dye
Item ID: minecraft:brown_dye
Item ID: minecraft:cyan_dye
Item ID: minecraft:gray_dye
Item ID: minecraft:light_blue_dye
Item ID: minecraft:light_gray_dye
Item ID: minecraft:lime_dye