Pixel art illustration of a dispenser block with a round dark opening on its gray face
Minecraft Java Item ID

Dispenser ID

Dispenser is a redstone block that uses and dispenses items when powered. It is crafted from cobblestone, bow, and redstone.

Partial data
Namespaced item ID minecraft:dispenser

Dispenser Item Facts

CategoryRedstone
Maximum stackNot yet verified
Historical numerical ID23

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

Give Command for Dispenser

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

/give @p minecraft:dispenser 1

Customize this command → View crafting recipe →

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 23 1

Give command syntax by version

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

Crafting Recipe

CobblestoneCobblestoneCobblestone
CobblestoneBowCobblestone
CobblestoneRedstone DustCobblestone

Crafting table recipe — makes 1 × Dispenser.

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

Dispenser Command Examples

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

Dispenser FAQ

What is the item ID for Dispenser?

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

What is the numerical ID for Dispenser?

Dispenser has the historical numerical ID 23, used in Java Edition 1.12.2 and earlier. Current versions use minecraft:dispenser instead.

How do I give myself Dispenser in Minecraft?

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

How do you craft Dispenser?

Dispenser is crafted on a crafting table with 7 cobblestones, 1 bow and 1 redstone dust, which yields 1 Dispenser.

Related Redstone

Original pixel art TNT explosive crate icon
Item ID: minecraft:tnt
Item ID: minecraft:lever
Item ID: minecraft:redstone
Item ID: minecraft:repeater
Item ID: minecraft:comparator
Item ID: minecraft:piston
Item ID: minecraft:sticky_piston
Item ID: minecraft:observer