MINECRAFT · ITEM

Pig Spawner
- Item
A spawner block configured to spawn pigs, stackable and given via command with NBT data.
Master the Pig Spawner faster. Join our Discord and swap configs, IDs and commands with the community. As of .
About
The Pig Spawner is a spawner block pre-configured through NBT tags to spawn pigs when placed. It is stackable up to 64 items per slot, making it convenient to distribute multiple spawners across a server or creative world.
Use the /give command with the full NBT tag structure to grant it to players. The BlockEntityTag and SpawnData tags lock the spawner to pig spawning; removing or editing these tags in an NBT editor will change what entity it produces. Place it in the world and it will begin spawning pigs according to its activation range and spawn rules.
Frequently Asked Questions
- Can I get the Pig Spawner without spawning it?
- Yes. The Pig Spawner can also be obtained through normal Minecraft progression. Admins usually spawn it for speed when testing, running events, or outfitting players, which is what the commands on this page are for.
- How current is the Pig Spawner spawn info?
- The Pig Spawner entry was last verified on GameServersCodex on June 29, 2026. We track the live Minecraft build, so the IDs and commands here reflect the current patch.
- What is the Pig Spawner used for?
- The Pig Spawner is a spawner block pre-configured through NBT tags to spawn pigs when placed. It is stackable up to 64 items per slot, making it convenient to distribute multiple spawners across a server or creative world.
- What does the Pig Spawner do in Minecraft?
- A spawner block configured to spawn pigs, stackable and given via command with NBT data.
- Which game is the Pig Spawner from?
- The Pig Spawner is from Minecraft. Every ID, code, and command on this page is specific to Minecraft and its current live build.
- What items are related to the Pig Spawner?
- See the Related section at the bottom of this page for items commonly used alongside the Pig Spawner, or open Browse Games to explore the full Minecraft database.
- What is the item id of the Pig Spawner?
- The item id of the Pig Spawner is minecraft:spawner{BlockEntityTag:{SpawnData:{id:"pig"}}}.
- What is the legacy item id of the Pig Spawner?
- The legacy item id of the Pig Spawner is minecraft:mob_spawner.
- What is the give command of the Pig Spawner?
- The give command of the Pig Spawner is /give @p minecraft:spawner{BlockEntityTag:{SpawnData:{id:"pig"}}} 1.
- What is the stackable of the Pig Spawner?
- The stackable of the Pig Spawner is Yes.
- What is the max stack size of the Pig Spawner?
- The max stack size of the Pig Spawner is 64.