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.

Monster Spawner in Minecraft: Finding and Using Spawners

Quick answer: Use minecraft:spawner in Java Edition commands. Monster spawners cannot be obtained as items in survival, even with Silk Touch: you find them in structures like dungeons and mineshafts, disable them with light, and build farms around them.

Where spawners generate

Dungeons hold zombie, skeleton, or spider spawners; mineshafts hide cave spider spawners behind cobwebs; strongholds contain a silverfish spawner near the portal room. Nether fortresses generate blaze spawners, and bastions have magma cube spawners in treasure rooms.

Mining a spawner only grants experience; the block itself never drops in survival. Because spawners are irreplaceable, decide whether you want a farm from a spawner before touching it, and light it up immediately if you plan to keep it.

  • Dungeons: zombie, skeleton, or spider, 50/25/25 percent odds.
  • Nether fortresses: blaze spawners for blaze rod farms.
  • Silk Touch does not work; only /give @p minecraft:spawner provides the item.

Turning a spawner into a farm

A spawner activates when a player is within 16 blocks and spawns mobs in a small area around it. Torch the spawner or flood the room with light to pause it while you build water channels or drop shafts that move mobs to a kill chamber.

Spawner-based farms are slower than dark-room mob farms but far simpler, and they deliver exactly one mob type. Skeleton and zombie spawners make the best early XP and drops farms; blaze spawners power potion brewing through blaze rods.

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.

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.

Can you pick up a spawner with Silk Touch?

No. In Java Edition survival, mining a monster spawner with any tool, including Silk Touch, destroys it and only drops experience. The spawner item exists only through creative mode or commands such as /give @p minecraft:spawner.

How do you disable a monster spawner?

Raise the light level around it. Placing torches directly on and around the spawner, or flooding the room with light sources, stops spawning while preserving the block so you can build a farm later.

What mobs can come from spawners?

Naturally generated spawners produce zombies, skeletons, spiders, cave spiders, silverfish, blazes, or magma cubes depending on the structure. With commands you can configure a spawner for almost any mob using the SpawnData NBT tag.

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