Pixel art illustration of a monster spawner in chunky voxel game style
Minecraft Java Item ID

Monster Spawner ID

The monster spawner is a caged block found in dungeons and structures that continuously spawns its mob when players are near. It cannot be collected in Survival, only disabled or farmed.

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

Monster Spawner Item Facts

Maximum stack64
Available inCreative
Historical numerical ID52

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

Give Command for Monster Spawner

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

/give @p minecraft:spawner 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 52 1

Give command syntax by version

Java 1.13+
/give @p minecraft:spawner 1
Namespaced ID (current format)
Java 1.8–1.12.2
/give @p 52 1 0
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 Monster Spawner

Finding Monster Spawner

Monster Spawner 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 Monster Spawner instantly.

Build With Monster Spawner

minecraft:spawner 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 Monster Spawner in Minecraft

The monster spawner is a caged block found in dungeons and structures that continuously spawns its mob when players are near. It cannot be collected in Survival, only disabled or farmed.

Monster Spawner Command Examples

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

Monster Spawner FAQ

What is the item ID for Monster Spawner?

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

What is the numerical ID for Monster Spawner?

Monster Spawner has the historical numerical ID 52, used in Java Edition 1.12.2 and earlier. Current versions use minecraft:spawner instead.

How do I give myself Monster Spawner in Minecraft?

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

How many Monster Spawner can stack in one slot?

Monster Spawner stacks up to 64 per inventory slot.

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