Pixel art illustration of a green cactus block with vertical ridges and spines
Minecraft Java Item ID

Cactus ID

Cactus is a plant block found in deserts. It damages entities that touch it and can grow up to 3 blocks tall. It can be smelted into green dye.

Partial data
Namespaced item ID minecraft:cactus

Cactus Item Facts

Maximum stackNot yet verified
Historical numerical ID81

Historical numerical ID: Reviewed for Java Edition 1.12.2 and earlier.

Give Command for Cactus

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

/give @p minecraft:cactus 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 81 1

Give command syntax by version

Java 1.13+
/give @p minecraft:cactus 1
Namespaced ID (current format)
Java 1.8–1.12.2
/give @p 81 1 0
Numerical ID + data value
Bedrock Edition
/give @p minecraft:cactus 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 Cactus

Finding Cactus

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

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

Build With Cactus

minecraft:cactus 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.

Cactus Command Examples

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

Cactus FAQ

What is the item ID for Cactus?

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

What is the numerical ID for Cactus?

Cactus has the historical numerical ID 81, used in Java Edition 1.12.2 and earlier. Current versions use minecraft:cactus instead.

How do I give myself Cactus in Minecraft?

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

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
Item ID: minecraft:oak_sapling
Item ID: minecraft:spruce_sapling