Kirsle.net logo Kirsle.net

Minecraft Monster Spawners

January 25, 2014 by Noah
Update for Minecraft 1.9: the syntax for the mob spawner commands have been changed starting in Minecraft 1.9

You can read the rest of this blog post for all the examples, but the main key difference is that the EntityId tag has been removed and you need to do SpawnData:{id: EntityIdHere} instead, replacing "EntityIdHere" with the entity ID you want (Zombie, Skeleton, PigZombie, VillagerGolem, etc.)

So, for the /setblock command:

Old way: /setblock ~ ~ ~ mob_spawner 0 replace {EntityId:Zombie}
New way: /setblock ~ ~ ~ mob_spawner 0 replace {SpawnData:{id:Zombie}}

And for the /give command:

Old way: /give @p mob_spawner 1 0 {BlockEntityTag:{EntityId:Skeleton}, display:{Name:Skeleton Spawner}}
New way: /give @p mob_spawner 1 0 {BlockEntityTag:{SpawnData:{id:Skeleton}}, display:{Name:Skeleton Spawner}}

So when you see examples below, translate them into the new format for Minecraft 1.9. I may eventually write a new version of this blog post that contains only 1.9 commands, but for now you'll have to rewrite them manually.

Edit 2: there seems to be a bug in 1.9 where a spawner given with the /give command will only spawn its monster one time before reverting to a pig spawner. The SpawnPotentials seems to be the culprit; when the block is placed it gets initialized to a list that only includes pigs. The list is supposed to be empty by default, so explicitly setting it to empty seems to work:

/give @p mob_spawner 1 0 {BlockEntityTag:{SpawnData:{id:Skeleton},SpawnPotentials:[]}}

The original blog post follows.

--Updated on 3/17/2016


Minecraft 1.7 added the commands /summon, /setblock, and an extended syntax for /give, so that you could summon any entity, and attach a ton of NBT Tags on it to control attributes like what equipment it's wearing or whether it's invulnerable. ;)

I was excited about this because not only could I spawn an Enderdragon in the overworld (this never ends well), but it would open up the possibility to just give myself custom monster spawners, like those typically found in a zombie/skeleton/spider dungeon.

Unfortunately, the /give command doesn't seem to allow you to add a monster spawner to your inventory. At most, you'll get a Pig Spawner, which has always been the default monster if you would /give yourself a spawner in the past. But, if you use /setblock you can just set a block to be a monster spawner and do it that way. Update: since writing this I found the syntax for giving a mob spawner with /give. Example:

/give @p mob_spawner 1 0 {BlockEntityTag:{EntityId:Skeleton}, display:{Name:Skeleton Spawner}}
This gives a Skeleton Spawner in your inventory. The display: stuff is just to give it a custom name, otherwise it will call itself "Mob Spawner" in your inventory. If you're gonna carry multiple spawners, the names will help differentiate them. Everything inside the BlockEntityTag part are the same tags from the /setblock examples below.

Now back to the original post...

The Usual Monsters

Pictured above are your "naturally occurring" monster spawners along the bottom: Blaze (in Nether Fortresses), Skeleton, Zombie, Spider, and Cave Spider (in abandoned mineshafts). I've also created spawners along the top for: Magma Cube, Slime, Zombie Pigman, Creeper, and Enderman.

The basic command syntax is along these lines:

/setblock ~ ~ ~ mob_spawner 0 destroy {EntityId:Zombie}
Replace the value for EntityId for any other valid entity. There's a list of Entity IDs on the Minecraft Wiki. You can create a monster spawner for pretty much every monster in the game, including the bosses like the Enderdragon and Wither.

The Bosses

/setblock ~ ~ ~ mob_spawner 0 destroy {EntityId:EnderDragon}
/setblock ~ ~ ~ mob_spawner 0 destroy {EntityId:WitherBoss}
Things to watch out for: the Enderdragon will destroy every block it touches except for Bedrock, Obsidian, and End Stone (a.k.a. the only three types of blocks that naturally occur in the End Dimension), so it will destroy its own spawner, and if you create one in the overworld or the Nether, it will ruin everything it touches. You can mitigate this by turning off monster griefing with the command /gamerule mobGriefing false.

Giants!

With this command you can also create a spawner for the Giant. This monster has been in the game for ages but never officially used. It's a super-huge zombie. However, I couldn't get this spawner to actually create a Giant for me. :( Your mileage may vary. You'll probably be better off summoning it directly with /summon Giant.

/setblock ~ ~ ~ mob_spawner 0 destroy {EntityId:Giant}
Horses!

You can also create a mob spawner for horses! (edit/warning: this worked for me when I originally wrote this post, but others have reported that horse spawners tend to crash their games. I can reproduce this behavior now too in Minecraft 1.7.10 and a few others I tried (1.7.9, 1.7.2). There's a Minecraft bug ticket for this. YMMV. It seems to work in snapshot 14w31a (screenshot) so may be fixed for 1.8)

The zombie and skeletal horses aren't naturally occurring in-game, and they cannot be tamed normally like other horses. You'll want to make sure the "Tame" flag is set when spawning these so that players can ride them. They can equip saddles, but not armor.

Zombie: /setblock ~ ~ ~ mob_spawner 0 destroy {EntityId:EntityHorse,SpawnData:{Type:3,Tame:1}}
Skeletal: /setblock ~ ~ ~ mob_spawner 0 destroy {EntityId:EntityHorse,SpawnData:{Type:4,Tame:1}}
Again, warning: horse spawners with SpawnData may crash your game. It's a known bug in several versions of Minecraft. If this happens, and your game managed to save the world before the crash, so that it instantly crashes again when rejoining the game, you'll have to use a third-party tool like MCEdit to delete the offending spawner.

That "SpawnData" attribute from the previous command is how you can attach NBT data to the spawned entity. Horses take a Type attribute and Tame, among some others. You can see all the relevant NBT tags at "Chunk format" on the Minecraft Wiki.

Here's a more advanced command that creates a Zombie spawner where the zombies are all equipped with Diamond Swords. I found this one from the Minecraft forums (I don't know or care too much about the NBT format; I usually just create simple spawners as listed above in this post).

/setblock ~ ~1 ~ minecraft:mob_spawner 0 replace {EntityId:Zombie,SpawnData:{Equipment:[{id:276,Count:1}]},SpawnPotentials:[{Type:Zombie,Weight:1,Properties:{Equipment:[{},{},{},{},{id:46,Count:1}]}}],SpawnCount:2}
Note: You'll have to paste that into a Command Block (/give <your_name> command_block) because the command is too long for the chat console. Attach a button to the command block with Shift+RightClick, push it and the spawner will appear above the block.

Custom Zombies

Tags:

Comments

There are 271 comments on this page. Add yours.

Avatar image
PIG posted on February 20, 2014 @ 23:37 UTC

THIS PAGE IS AWSOME!!!!!

Avatar image
Guest posted on March 2, 2014 @ 00:20 UTC

These tips are REALLY useful!

Avatar image
James posted on March 4, 2014 @ 18:27 UTC

these commands wont work on my computer

Avatar image
James posted on March 4, 2014 @ 18:27 UTC

these commands wont work on my computer

Avatar image
Anonymous posted on March 6, 2014 @ 04:27 UTC

Hey im new in minecraft. I play since 2 weeks. Now i want to summon monsterspawners and was searching for the commands. I tried ur /setblock ~ ~ ~ mob_spawner 0 destroy {EntityId:EntityHorse,SpawnData:{Type:3,Tame:1}} but it crashed my world total. Now i cant back in longer as 5 sec. Do u have an idea. Sry for my english ;)

Avatar image
Haunt23 posted on March 7, 2014 @ 23:31 UTC

Thank you SO much. I couldn't find this Info ANYWHERE else :D

Avatar image
Caiden posted on March 8, 2014 @ 22:41 UTC

I cant get it to work for a cow... any help?

Avatar image
Noah (@kirsle) posted on March 10, 2014 @ 08:01 UTC

/setblock ~ ~ ~ mob_spawner 0 destroy {EntityId: Cow}

Avatar image
Anonymous posted on March 19, 2014 @ 23:53 UTC

It sort of worked, but no image appeared in the spawner, is this a bad thing?

Avatar image
Raddi posted on March 20, 2014 @ 07:52 UTC

This is awsome it actually worked i love this page thx to whoever made or build this page or blog or vlog

Avatar image
NeedaSpawner posted on March 21, 2014 @ 22:39 UTC

Any idea how to place a custom mob spawner using multiplayer worldedit? I play on a server with a world edit plugin and I want to place down a spawner for diamond blocks.

Avatar image
reply posted on March 25, 2014 @ 10:56 UTC

@anon no space between colon and cow. /setblock ~ ~ ~ mob_spawner 0 replace {EntityId:Cow} that'll work for ya

Avatar image
reply posted on March 25, 2014 @ 11:06 UTC

@need a spawner The only way I know of to make an item spawner is with MC edit. You toss the item on the ground from your inventory, save and exit. Open MC edit, highlight the item (shown as an invisible block), click filter, open the drop down menu, click create spawner, check the box and click filter. Save, re-enter your world and the spawner will pop out that item. 1 - 4 every about 20 - 30 secs. Set up Hoppers under it to a chest and let it fill up.

Avatar image
Anonymous posted on March 27, 2014 @ 02:31 UTC

I knew how to do this sort of, but the spawner would stop Working after a while, now I fixed it thanks to this page!

Avatar image
Anonymous posted on April 16, 2014 @ 15:32 UTC

Is it possible to make a super charged creeper

Avatar image
Paul posted on April 18, 2014 @ 05:11 UTC

Awesome

Avatar image
Noah (@kirsle) posted on April 18, 2014 @ 05:17 UTC

To make a spawner for super charged creepers:

/setblock ~ ~ ~ mob_spawner 0 replace {EntityId:Creeper, SpawnData:{powered:1}}

Screenshot: http://i.imgur.com/gJZqo6c.png

Avatar image
Anonymous posted on April 21, 2014 @ 06:33 UTC

how do I get a magma cube and zombie pigman

Avatar image
AtomMous posted on April 23, 2014 @ 22:27 UTC

How would I do this to spawn, say, gold nuggets?

Avatar image
john posted on April 25, 2014 @ 18:24 UTC

WOW!! The best commands ever!! :)

Avatar image
Anonymous posted on April 26, 2014 @ 21:34 UTC

its not working

Avatar image
Anonymous posted on April 26, 2014 @ 21:34 UTC

its not working

Avatar image
Echo posted on May 5, 2014 @ 20:31 UTC

DON"T USE THE SET BLOCK COMMAND FOR THE SKELETAL OR ZOMBIE HORSE SPAWNERS!!!!!! it will crash your game! I used it, now (like the guy who said he can't stay in his game longer than five seconds) it will crash your world every time the mobspawner block renders. If there is a fix for this!!! PLEASE LET ME KNOW!!!

Avatar image
Noah (@kirsle) posted on May 5, 2014 @ 21:56 UTC

What version of the game are you using? I took those screenshots of the skeletal/horse spawners in-game on one of the 1.7.x versions and it didn't crash for me. Are you on the 1.8 snapshots? Those are highly unstable so don't be surprised when things crash snapshot worlds (recently, item frames crashed worlds in the snapshots).

Use MCEdit to remove the spawner from the world if you need to fix it.

Avatar image
RainbowNick posted on May 8, 2014 @ 07:11 UTC

I cant get it work IronGolem, can help?

Avatar image
Noah (@kirsle) posted on May 8, 2014 @ 07:12 UTC

That's because the entity's name is VillagerGolem.

/setblock ~ ~ ~ mob_spawner 0 destroy {EntityId:VillagerGolem}

http://minecraft.gamepedia.com/Data_values/Entity_IDs

Avatar image
RainbowNick posted on May 8, 2014 @ 07:18 UTC

Thanks You, Nice~ Its Work

Avatar image
RoB_Meener posted on May 11, 2014 @ 00:25 UTC

Is it possible to let spawn colored sheep?

Avatar image
Noah (@kirsle) posted on May 11, 2014 @ 02:07 UTC

/setblock ~ ~ ~ mob_spawner 0 replace {EntityId:Sheep,SpawnData:{Color:2}}

That'd product magenta sheep. See data values for a list of colors and their numbers.

Avatar image
Robb posted on May 12, 2014 @ 21:52 UTC

I must be doing something wrong. I keep placing spawners that are empty and don't produce anything. I'm running 1.7.9.

Avatar image
steve posted on May 14, 2014 @ 02:31 UTC

the super power creeper wont work

Avatar image
Anonymous posted on May 14, 2014 @ 02:32 UTC

let me know

Avatar image
no one posted on May 14, 2014 @ 02:33 UTC

can u make a snow golem?

Avatar image
Noah (@kirsle) posted on May 14, 2014 @ 02:52 UTC

I have no idea how you people can have trouble copying and pasting these commands. They all work on Minecraft 1.7.

  • Make sure you're on Minecraft 1.7 or higher

  • Make sure you're on Minecraft 1.7 or higher

  • They don't work on Minecraft 1.6

  • When you select the command to copy it, make sure that you ONLY select the command, the full command, and nothing BUT the command.

  • This means the / at the beginning all the way up to the very last } should be highlighted before you hit Ctrl-C.

  • If you didn't highlight enough of the command, so some }'s are missing, it's a syntax error, the command won't run right in Minecraft.

  • If you copied too much (like your hand slipped and you copied 2 more sentences of text from the page), syntax error, command won't work right.

  • Some commands are TOO LONG to paste into the Minecraft chat console. After hitting Ctrl-V, if the command doesn't end with the same } symbols you saw on the page, it's TOO LONG. Test it by typing "AAA" at the end, if it doesn't let you type anything, the command is too long.

  • IF the command is too long, give yourself a Command Block with /give <your name> command_block, replacing <your name> with your Minecraft username, without the < or >. For example my Minecraft username is caskir, so I type /give caskir command_block

  • Be in creative mode and make sure you're the server OP and place the command block, then right click it, paste in the long command, hit OK, then attach a button or something to your command block to activate it (hold down shift and right-click to place the button). Then right click the button to activate the command block.

Avatar image
Noah (@kirsle) posted on May 14, 2014 @ 03:04 UTC

Snow Golem's entity name is SnowMan.

/setblock ~ ~ ~ mob_spawner 0 destroy {EntityId:SnowMan}

As mentioned twice so far on this page, consult the Entity IDs wiki page for the list of all entity IDs.

In case anyone else is too lazy, here are the "tricky" entity names that don't match the in-game names.

  • Wither Skeleton is still a Skeleton (but with SkeletonType:1 as its SpawnData)
  • Zombie Pigman is a PigZombie
  • Magma Cube is a LavaSlime
  • Wither is a WitherBoss
  • Mooshroom is a MushroomCow
  • Snow Golem is a SnowMan
  • Ocelot is a Ozelot
  • Iron Golem is a VillagerGolem
  • Horse is an EntityHorse

Other mobs that have a space in their names: just remove the space, capitalize all words. Cave Spider is a CaveSpider, Ender Dragon is an EnderDragon, etc.

Avatar image
Robb posted on May 14, 2014 @ 04:20 UTC

So, I figured out what I've been doing wrong. The script is case sensitive. Thank you for showing me how to do this. I log it.

Avatar image
peter farquson posted on May 15, 2014 @ 00:28 UTC

this is awsome thx!

Avatar image
peter farquson posted on May 15, 2014 @ 00:30 UTC

i made a snowgolem and irongolem spawners with 10 zombie spawners in a areana! it was awsome!

Avatar image
guest posted on May 22, 2014 @ 00:47 UTC

how do i spawn a cave spider spawner ??

Avatar image
LollinTrollin posted on May 22, 2014 @ 16:05 UTC

i have placed down spawners for everything from primed tnt to wolves, but none of them spawn anything. they have the entity spinning in the middle but nothing comes out.

Avatar image
Noah (@kirsle) posted on May 22, 2014 @ 16:47 UTC

The spawner still follows the normal spawn rules for the entity inside it. So for passive animals like cows and sheep, there has to be grass around the spawner and a high light level (or be facing the sky). I'm not sure if wolves have an extra requirement of needing to be in a certain biome like a taiga forest though. Hostile monsters need darkness to spawn.

PrimedTnt has no natural spawn conditions so good luck getting the spawner to produce them. You may need some extra NBT tags to get that to work.

Avatar image
BLA BLA posted on May 27, 2014 @ 18:09 UTC

well this didn't work

Avatar image
lalalala posted on May 27, 2014 @ 18:35 UTC

i had a zombie sword spawner, then i blew it up; then i re-summoned it and it was a tnt-zombie spawner!

:D

Avatar image
powercamel posted on May 28, 2014 @ 10:24 UTC

can you spawn stacked entities?

Avatar image
Anonymous posted on May 30, 2014 @ 00:31 UTC

thank you so much helped alote.

Avatar image
Noah (@kirsle) posted on June 2, 2014 @ 23:35 UTC

@powercamel:

Here's an example spawner that will produce Skeletons riding on top of Skeletal Horses. You'll need to paste this command into a command block, because it's too long to paste in the chat console.

/setblock ~ ~1 ~ mob_spawner 0 replace {EntityId: Skeleton, SpawnData: {Riding: {id: EntityHorse, Type: 4, Tame: 1}}}

Screenshot: http://imgur.com/Rz67PZP

With that specific command, the Skeleton won't be equipped with a bow. Here's a version that equips the Skeleton with his standard bow:

/setblock ~ ~1 ~ mob_spawner 0 replace {EntityId: Skeleton, SpawnData: {Equipment:[{id:261,Count:1}], Riding: {id: EntityHorse, Type: 4, Tame: 1}}}

Also note, the mob on the bottom (the skeletal horse in this case) dictates where the stack of mobs wanders off to. So the skeleton jockey won't run after the player, it will just wander randomly and shoot you with its bow, because the horse's AI is to just wander randomly.

The only "neutral" mob whose AI is able to be taken over by its rider is the Chicken, when being ridden by a Baby Zombie.

Avatar image
Nobody posted on June 3, 2014 @ 00:56 UTC

If you place a big tower of fences on top of giant spawner it looks like he is pole dancing! ;)

Avatar image
illtoday posted on June 6, 2014 @ 19:37 UTC

can you have a spawner that gives a zombie on a pig?

Avatar image
Noah (@kirsle) posted on June 6, 2014 @ 20:19 UTC

Zombie riding a pig (untested, should work, might need to paste in a command block):

/setblock ~ ~ ~ mob_spawner 0 replace {EntityId: Zombie, SpawnData: {Riding: {id: Pig}}}

The zombie won't control the pig's movements though. The only mob whose AI can be overridden when riding is the chicken, and only when being ridden by a baby zombie.

Avatar image
illtoday posted on June 7, 2014 @ 07:59 UTC

thanks

Avatar image
yummy posted on June 7, 2014 @ 08:02 UTC

how can you get a enderman to ride on another endermans back?

Avatar image
minecrafter posted on June 10, 2014 @ 16:44 UTC

these tips helped me spawn a skelatan horse which was EPIC!!!!!!!

Avatar image
yummy posted on June 10, 2014 @ 18:48 UTC

plz tell me how can you get a enderman to ride on another endermans back?

Avatar image
Noah (@kirsle) posted on June 10, 2014 @ 19:19 UTC

Look at the Minecraft wiki and/or look at the dozens of examples on this page and figure it out.

Untested:

/setblock ~ ~ ~ mob_spawner 0 replace {EntityId: Enderman, SpawnData: {Riding: {id: Enderman}}}

Avatar image
yummy posted on June 12, 2014 @ 07:17 UTC

thanks! :D

Avatar image
Muh arief posted on June 12, 2014 @ 11:03 UTC

hmm how do we spawn a zombie with full set diamond armor ??

Avatar image
Bob posted on June 12, 2014 @ 17:57 UTC

can i enchant level 100?

Avatar image
Tommy posted on June 13, 2014 @ 06:16 UTC

Help me with the wither skeleton spawner I put spawn data but it always fails please help!!!!!

Avatar image
Tommy posted on June 13, 2014 @ 06:53 UTC

Oh and a chicken jockey spawner too. (Maybe a pig jockey) Note. Chicken jockey is baby zombie on a chicken. And pig jockey is the same just a baby pigman instead of baby zombie.

Avatar image
Tommy posted on June 19, 2014 @ 04:49 UTC

No answer.

Avatar image
yummy posted on June 20, 2014 @ 17:24 UTC

what do u mean :I

Avatar image
Noah (@kirsle) posted on June 20, 2014 @ 18:25 UTC

@Tommy:

  • Wither Skeleton Spawner (no weapon)

    /setblock ~ ~ ~ mob_spawner 0 replace {EntityId: Skeleton, SpawnData:{SkeletonType:1}}

  • Wither Skeleton Spawner (with stone sword)*

    /setblock ~ ~ ~ mob_spawner 0 replace {EntityId: Skeleton, SpawnData:{SkeletonType:1, Equipment: [{id: 272},{},{},{},{}]}}

  • Chicken Jockey

    /setblock ~ ~ ~ mob_spawner 0 replace {EntityId: Zombie, SpawnData:{IsBaby:1, Riding: {id:Chicken}}}

  • Pigman Jockey*

    /setblock ~ ~ ~ mob_spawner 0 replace {EntityId: PigZombie, SpawnData:{IsBaby:1, Riding: {id:Chicken}}}

* The wither skeleton w/ sword and the Pigman Jockey will need a command block because the commands are too long to paste into chat. You'll want to change the beginning of the command (the /setblock ~ ~ ~ part) to summon the spawner somewhere else so it doesn't replace the command block itself, i.e. /setblock ~ ~1 ~ will make the spawner appear on top of the command block.

Avatar image
Tommy posted on June 25, 2014 @ 23:05 UTC

Ok thank you. This will help for my mob arena and my redstone map.

Avatar image
Tommy posted on June 25, 2014 @ 23:09 UTC

I'll try it out right now.

Avatar image
Noah (@kirsle) posted on June 25, 2014 @ 23:15 UTC

If you're redstoning, you can also use the /summon command to instantly summon desired monsters instead of creating mob spawner blocks. It might be a better option for a mob arena depending on your requirements (I'm imagining one arena room area, and some redstone to summon mobs in waves of increasing difficulty).

i.e. the standard wither skeleton w/ stone sword using the /summon command:

/summon Skeleton ~ ~ ~ {SkeletonType:1, Equipment:[{id:272},{},{},{},{}]}

Just take the NBT tags from the "SpawnData" part of a mob spawner and put it at the end of the /summon command.

Avatar image
Jason posted on June 26, 2014 @ 18:57 UTC

what would the command for a zombie with enchanted armor and weapon be i can't figure it out

Avatar image
Noah posted on June 28, 2014 @ 16:11 UTC

same here

Avatar image
Josh posted on June 30, 2014 @ 22:39 UTC

Hey, I've seen that people are having trouble and I KNOW WHAT THE PROBLEM IS!!! They type / to open up the chat bar, then they paste. But the problem is that then there are TWO /es! So that is probably what your problem is.

Now, for kirsle, is it possible to make a giant-riding-a-ghast spawner? IF SO, tell me what I should say.

Avatar image
Noah (@kirsle) posted on July 1, 2014 @ 00:13 UTC

Something like this, in theory:

/setblock ~ ~ ~ mob_spawner 0 replace {EntityId: Giant, Riding:{id:Ghast}}

But since the Giant has no valid spawn conditions naturally, it might not spawn anything from a mob spawner (I couldn't get normal Giant spawners to produce anything). Some other NBT tags might work but I don't know which ones for sure. I saw somebody who made PrimedTnt spawners that summoned the TNT a good distance away from the spawner (inside a "volcano" in fact), and PrimedTnt doesn't spawn under any natural conditions either, so there should be some way to force spawning.

Tile Entity Format

The /summon command can for sure summon what you want. Depending on your needs you might be able to just build a redstone contraption with a command block.

/summon Giant ~ ~ ~ {Riding:{id:Ghast}}

Avatar image
Josh posted on July 1, 2014 @ 01:06 UTC

Thanks!

Avatar image
fridge2177 posted on July 3, 2014 @ 02:28 UTC

So I'm trying to make a custom Pig spawner for my mini game world and unfortunately it refuses to spawn. The problem is not in the command because when I change the entity type into something hostile (like a zombie or a skeleton) the command works perfectly and to all the permitters that I set up. This is the command I'm using at the moment and if anyone could tell my why it refuses to spawn that would be very helpful, thanks! (Here is the command: /setblock ~ ~1 ~ minecraft:mob_spawner 0 replace {EntityId:Zombie,SpawnCount:2,SpawnRange:3,RequiredPlayerRange:64,Delay:10,MinSpawnDelay:10,MaxSpawnDelay:100,MaxNearbyEntities:2} and i tried running on multiple versions and none worked

Avatar image
Noah (@kirsle) posted on July 3, 2014 @ 02:53 UTC

Normal spawn rule requirements apply to mob spawners.

Animals like pigs, sheep, chickens, horses, they can only spawn on grass blocks with a high light level (or facing the sky).

It's why in the original blog post, I switched from a desert superflat to a plains one to show screenshots of the horse spawner. The mobs wouldn't spawn in the desert due to the lack of grass.

Avatar image
derek posted on July 8, 2014 @ 17:15 UTC

how do i get the giant to work and is it possible to get a pig with armour???

Avatar image
Noah (@kirsle) posted on July 8, 2014 @ 17:34 UTC

I decided to look into it finally. From the wiki:

In the code, giants need to have a light level both less than 8 and greater than 11 to spawn, but since that can't happen, they don't spawn from monster spawners. However, this spawn condition can be bypassed with a custom spawner, if it attempts to spawn an entity with valid spawn conditions riding a giant.

So a giant won't spawn by itself from a mob spawner since its spawn conditions are impossible. But spawn something else that's riding the giant and you can do it. Something like,

/setblock ~ ~ ~ mob_spawner 0 replace {EntityId: PigZombie, Riding:{id:Giant}}

And, pigs can't wear armor no matter what, so a mob spawner can't spawn a pig with armor. Same goes for all other mobs except for skeletons, zombies, and giants.

Avatar image
yayay posted on July 10, 2014 @ 04:21 UTC

is it possible to make a pit riding a pig riding a pig

Avatar image
yayay posted on July 10, 2014 @ 04:21 UTC

i mean pig riding a pig riding a pig

Avatar image
Noah (@kirsle) posted on July 10, 2014 @ 04:58 UTC

/setblock ~ ~ ~ mob_spawner 0 replace {EntityId:Pig, Riding:{id:Pig, Riding:{id:Pig}}}

Avatar image
viktor posted on July 10, 2014 @ 10:34 UTC

how to spawn an pig riding an enderman riding an villager riding an enderdragon riding an steve riding an giant

Avatar image
viktor posted on July 10, 2014 @ 10:39 UTC

how to spawn an giant with armor my name in minecraft are porfen

Avatar image
Anonymous posted on July 12, 2014 @ 14:10 UTC

what the heck i did all spawners but they just don't work!! they don't spawn HELP ME PLEASE

Avatar image
Anonymous posted on July 12, 2014 @ 15:30 UTC

Ok my name is Anonymous and I love Minecraft. I play it neally every day so I think I should know what I am doing. Ok get a command block and type /see thru (do not do yours!) (ONLY WORKS ON MULTIPLAYER) then click DONE and put a redstone block next to it and it should make you be able to control someone elses body WITHOUT MODS or PLUGINS! Only works on 1.7.4:1 (First snapshot of 1.7.4)

Avatar image
Anon posted on July 25, 2014 @ 23:58 UTC

The skeletal horse spawner crashes your game every time you enter the world, after you've spawned it in :(

Avatar image
Chris posted on July 29, 2014 @ 16:18 UTC

I once tried putting a painting in a spawner... it didn't work out to well... CRASH.

Avatar image
Chris posted on July 29, 2014 @ 16:32 UTC

Just now tried: /setblock ~ ~1 ~ mob_spawner 0 replace {EntityId:"EntityHorse",SpawnData:{Type:4}} Crashed: Yep. Version: 1.7.10. There's nothing wrong with this, right?

Avatar image
Noah (@kirsle) posted on July 30, 2014 @ 00:27 UTC

Confirmed that horse spawners do crash the game in 1.7.10.

Here's a Minecraft bug ticket about it for more information. Hopefully it'll be fixed soon. ;)

In the mean time you can use command blocks to /summon the horses if you need them for something. Mob spawner-like behavior could be accomplished by a redstone circuit that uses /testfor to find players within a certain range of a coordinate, then some repeaters for delay, then /summon the horse.

Avatar image
Noah (@kirsle) posted on July 30, 2014 @ 21:47 UTC

Update: tried the latest snapshot (14w31a) and spawned a skeleton horse spawner and it didn't crash the game.

Screenshot

Command was the typical /setblock ~ ~ ~ mob_spawner 0 replace {EntityId:EntityHorse, SpawnData:{Type:4, Tame:1}}

Hopefully this means they'll be fixed for when 1.8 is released. :)

Avatar image
ZK posted on August 2, 2014 @ 02:48 UTC

Note In MC 1.7.9 the command to place a spawner for Zombie or Skeleton Horse's will Crash the Client every time you load the Chunk The spawner is in dose not crash the server Just the Client for MC 1.7.9 in a vanilla MC server or a Bukkit Server in Both server types the Client will Crash when you try to Make a zombie/skeleton horse spawner!

Avatar image
tehminimal posted on August 3, 2014 @ 13:16 UTC

Love the page, really useful. The command for the zombie carrying the diamond sword actually seems to work fine if you cut it short like so: /setblock ~ ~1 ~ minecraft:mob_spawner 0 replace {EntityId:Zombie,SpawnData:{Equipment:[{id:276}]}}

this way you can paste it directly into the chat console. hope it helps!

Avatar image
awesomeman posted on August 4, 2014 @ 01:57 UTC

how do u make a donky spawner?

Avatar image
Oliver posted on August 5, 2014 @ 17:16 UTC

I have looked and I have seen it before but how do you get multipul mobs in 1 spawner

Avatar image
ILLUMINATI posted on August 9, 2014 @ 18:24 UTC

ITS OVER 9 9 9 9 9 90000000000000000000000000000000000000000000

Avatar image
1-800-sexy-cleaner posted on August 20, 2014 @ 07:07 UTC

I cant seem to do /summon giant. It said "unable to summon object"

Avatar image
Noah (@kirsle) posted on August 20, 2014 @ 07:45 UTC

The command is case sensitive, it has to be Giant with a capital G.

Avatar image
Bob posted on August 30, 2014 @ 15:16 UTC

Awesome!!! :)

Avatar image
Retarra posted on September 1, 2014 @ 16:39 UTC

This DID NOT WORK. I am on Minecraft 1.7.10 and I also tried it on 1.7.9, 1.7.6, and 1.7.2. It just said "There is no such item with ID mod." This happened on all of these. Help?

Avatar image
XymphosCraK posted on September 2, 2014 @ 02:16 UTC

I think this page broke the awesomeness limit level. Kirsle you're a true genius, it's almost as if you designed the game itself!

-Bookmarked -Followed

Awesomeness level OVER NINE THOUSAND!!11!!!!1!!!ONE!

Avatar image
Noah (@kirsle) posted on September 2, 2014 @ 06:02 UTC

@Retarra:

How are you typing the commands in? That error doesn't make sense, unless you're typing something like, "/setblock ~ ~ ~ mod spawner .." or something.

The letters "mod" (with a D) should probably not even show up in the command at all, since they're mob spawners (with a B).

Make sure you type the commands carefully. Try highlighting, copying+pasting one of the commands from my blog to be sure. The command must be spelled correctly, and everything about the command is case sensitive (i.e. the block's name is mob_spawner, all lowercase, Mob_spawner or MOB_Spawner won't work. Same for entity names: Zombie with a capital Z, a lowercase zombie won't work. Or PigZombie with those capital letters, etc.)

Avatar image
khalilla lala posted on September 5, 2014 @ 09:01 UTC

That was AWSOME..!!😆😆😆😆😆😆✨

Avatar image
hi posted on September 6, 2014 @ 15:58 UTC

how do u make a horse spawner?????

Avatar image
Noah (@kirsle) posted on September 6, 2014 @ 20:52 UTC

Ctrl-F, type "horse", find out how to make a horse spawner.

There were some issues with certain spawners (i.e. for skeleton or zombie horses) in Minecraft 1.7 and some other versions, but it looks like they were solved for Minecraft 1.8 (proof)

Avatar image
Nate posted on September 22, 2014 @ 20:41 UTC

IT DONT WORK HELP ME OUT PLZ HELP ME

Avatar image
Anonymous posted on September 25, 2014 @ 09:08 UTC

Is it possible to have a Spawner, spawn Soley Chicken Jockeys? If so would you happen to know that command? Tried a few myself but can't seem to figure it out

Avatar image
Anonymous posted on September 25, 2014 @ 09:10 UTC

Nevermind, Had to read a bit more into your posts :D

Avatar image
Anonymous posted on October 5, 2014 @ 16:38 UTC

how do your spawn a zombie with enchanted diamond armour?

Avatar image
alex posted on October 6, 2014 @ 23:33 UTC

hey can we do it everything that is on this page with command:/give?

Avatar image
/setblock ~ ~ ~ mob_spawner 0 destroy {EntityId:Jeb_} posted on October 7, 2014 @ 09:56 UTC

Hi kirsle. This was great but could i have the entity id for a spider jockey?

Avatar image
Noah (@kirsle) posted on October 7, 2014 @ 18:30 UTC

@alex.: not that I know of. Attempting to /give a mob spawner with all these custom attributes just ended up giving me the default pig spawner.

@EntityId:Jeb_: the spider jockey is just a skeleton riding on a spider, it doesn't have its own entity ID.

This spawns a skeleton equipped with its standard bow riding on a spider. This is for Minecraft 1.8+, for older versions replace the "id:bow" with "id:261"

/setblock ~ ~ ~ mob_spawner 0 replace {EntityId:Skeleton, SpawnData: {Equipment:[{id:bow,Count:1}], Riding:{id:Spider}}}

Avatar image
Tommy posted on October 10, 2014 @ 02:20 UTC

By the way my mob arena is a bedrock waterfall like cave so pressure plates, buttons, levers, etc. Isn't that good.

Avatar image
Drexel posted on October 15, 2014 @ 22:15 UTC

I have a problem. I put in the command /setblock ~ ~ ~ mob_spawner 0 destroy {EntityId:EntityHorse,SpawnData:{Type:4,Tame:1}} on my command block and when i activated it the spawner spawned and closed my game. now i cannot get back in quick enough to break the spawner.

Avatar image
Noah (@kirsle) posted on October 15, 2014 @ 22:17 UTC

It's a known problem with some versions of Minecraft. Horse spawners with any SpawnData tend to crash the game.

You'll need to use a third party program like MCEdit to delete the spawner.

Avatar image
Drexel posted on October 15, 2014 @ 22:38 UTC

Would a towny backup fix it?

Avatar image
Drexel posted on October 16, 2014 @ 03:22 UTC

Fixed my problem but was wondering do you know which custom spawners tend to crash the server? im on 1.7.9

Avatar image
Drexel posted on October 16, 2014 @ 04:55 UTC

I have this command here "/setblock ~ ~1 ~ minecraft:mob_spawner 0 replace {Entityid:Zombie,SpawnCount:20,SpawnRange:10,RequiredPlayerRange:64,Delay:10,MinSpawnDelay:100,MaxSpawnDelay:100,MaxNearbyEntities:5}" Do you know if its possible to have all these mobs spawn with a name?

Avatar image
Will posted on October 23, 2014 @ 19:43 UTC

Hi kirsle, I was wondering how you could get a Iron Golem riding a Iron Golem x100. Thanks

Avatar image
Noah (@kirsle) posted on October 23, 2014 @ 19:56 UTC

@Will:

By stacking up the "Riding:" part over and over and over.

I've made a quick JSFiddle that lets you generate these pretty easily: http://jsfiddle.net/pgbpuqva/. Enter the EntityId (default is set to VillagerGolem just for you ;) ) and the stack height, click the button and copy/paste the results into a command block. :D

Avatar image
jordo posted on October 29, 2014 @ 02:13 UTC

Where do snow golems spawn? I have the spawner out in the open by snow.

Avatar image
Anonymous posted on October 31, 2014 @ 06:55 UTC

Why My Slime Spawner Doesn't Wanna Spawn A Slimes ? Please Answer That :'(

Avatar image
Noah (@kirsle) posted on October 31, 2014 @ 19:23 UTC

Probably because the spawning requirements for the Slime aren't satisfied by the area you put the spawner.

Slimes only spawn in certain chunks and at certain Y coordinates. Or jungle biomes. So if you find a slime chunk and put the spawner there it should work.

Avatar image
Sanane mal posted on November 2, 2014 @ 14:44 UTC

Yarrak Gibi Mallar

Avatar image
Orphan Crippler posted on November 9, 2014 @ 01:23 UTC

This is awesome!!! Thank you so much, you are what's right with the world. My little brother is having so much fun right now switching out mobs with the riding codes. I think his favorite is the pig riding on a bat. THANK YOU!!!

Avatar image
Minecarter posted on November 9, 2014 @ 14:14 UTC

/setblock ~ ~ ~ mob_spawner 0 replace {EntityId:Creeper, SpawnData:{powered:1}}

Avatar image
O_D_L_I_V_I_O_N posted on November 15, 2014 @ 11:56 UTC

thanks this helps a bunch

Avatar image
Samandy posted on November 22, 2014 @ 06:21 UTC

What would the command be fire zombie pigmen

Avatar image
Anonymous posted on November 25, 2014 @ 00:35 UTC

can you just summon a ender dragon without spawner?

Avatar image
Noah (@kirsle) posted on November 25, 2014 @ 00:38 UTC

Yeah, just /summon EnderDragon

Avatar image
Flappingbird posted on November 26, 2014 @ 20:24 UTC

Wow! It is amazing!

Avatar image
Matt Jones posted on December 2, 2014 @ 21:13 UTC

Thank you so much for the tutorial! This command is so useful. As for the Giant spawner not working, Giants have a spawning code that makes them spawn at a light level greater than 11 and less than 8, meaning that they will never spawn from the monster spawner cage. You should just use /summon Giant ~ ~ ~ to summon one.

Avatar image
aliikhsan posted on December 4, 2014 @ 12:42 UTC

How to make spawner Enderman

Avatar image
Karosak6540 posted on December 6, 2014 @ 10:44 UTC

How to make full diamond armor zombie SPAWNER

Avatar image
Guest posted on December 6, 2014 @ 22:14 UTC

Will the monsters hurt you?

Avatar image
_marino posted on December 11, 2014 @ 17:10 UTC

This awesome! it work tank you. =D

Avatar image
56TR posted on December 11, 2014 @ 18:18 UTC

give @p 276 1 0 {AttributeModifiers:[{AttributeName:"generic.attackDamage",Name:"generic.attackDamage",Amount:50,Operation:0,UUIDLeast:894654,UUIDMost:2872}]}

Diamond Sword +50 Damage :)

Avatar image
daily posted on December 20, 2014 @ 05:07 UTC

dude how do i like give it to my self?

Avatar image
DA FA posted on December 29, 2014 @ 21:15 UTC

AWSOMWE

Avatar image
DA FA posted on December 29, 2014 @ 21:16 UTC

DA FA

Avatar image
Anonymous posted on December 30, 2014 @ 01:53 UTC

Where do items spawn?

Avatar image
Affan posted on January 6, 2015 @ 03:48 UTC

Well this code doesnt work a my 1.8 Minecraft : /setblock ~ ~ ~ mob_spawner 0 replace {EntityId:Skeleton, SpawnData: {Equipment:[{id:bow,Count:1}], Riding:{id:Spider}}}

Avatar image
d4rk_destr0y3r posted on January 6, 2015 @ 11:04 UTC

This page is so awesome!!! how do u make a spawner with a zombie riding a zombie horse or skeleton riding a skeletal horse?

Avatar image
d4rk_destr0y3r posted on January 6, 2015 @ 11:07 UTC

Look for me on myth craft pvp at IP of

PLAY.MYTHCRAFTPVP.COM

version 1.7.2

Avatar image
hackster posted on January 25, 2015 @ 06:48 UTC

is it possible to spawn multiple mobs with /summon? say if i wanna spawn 5 zombies with /summon... do i have to do /summon 5 times or it there another way?

Avatar image
Shoes people posted on January 25, 2015 @ 12:53 UTC

how to make sword that can shoot or summon something

Avatar image
Anonymous posted on January 29, 2015 @ 20:36 UTC

How do u do a pig. It isn't working for me.

Avatar image
creeper in my chest posted on January 31, 2015 @ 00:16 UTC

I did it with a villager and it worked. Plus, try when u summon a villager {Riding:{I'd:Bat}}

Avatar image
Anonymus posted on February 9, 2015 @ 20:01 UTC

I have noticed that in minecraft people use the Giant Spawner as a poledancer. Is there any explaination for this?

Avatar image
Noah (@kirsle) posted on February 9, 2015 @ 20:06 UTC

Guilty.

My stab at an explanation:

  1. Giants never spawn from Giant spawners (the spawn conditions for a giant are impossible) making the spawner "harmless"
  2. The model is so large it extends quite a way outside of the spawner block (the Enderdragon and Wither share this issue; but their spawners will spawn a nasty mob that will wreck your stuff)
  3. The Giant's model lines up perfectly with a fence post placed on top of the spawner.
  4. Have a dirty mind.
  5. ???
  6. Profit.
Avatar image
Brady wyatt posted on February 16, 2015 @ 23:31 UTC

Hey! Is it possible to make a Enchanted Armor Zombie Spawner? What's the command if so! Thanks!

Avatar image
zohaib posted on February 23, 2015 @ 10:55 UTC

I like the helpful information you provide for your articles. I’ll bookmark your blog and take a look at once more right here regularly. I’m somewhat sure I’ll learn many new stuff right right here! Good luck for the next!

http://naveedsoft.com/

Avatar image
Matheius posted on March 1, 2015 @ 13:41 UTC

Awesome! Thanks for the tutorial!

Avatar image
diaminer178 posted on March 5, 2015 @ 18:08 UTC

How do you make an angry zombie pigman spawner? Im making a CTM map and I have a nether themed dungeon. Please help.

Avatar image
Noah (@kirsle) posted on March 5, 2015 @ 20:21 UTC

Probably something along these lines (check mob attributes on the Minecraft wiki: http://minecraft.gamepedia.com/Chunk_format#Mobs - look under PigZombie )

/setblock ~ ~ ~ mob_spawner 0 replace {EntityId: PigZombie, SpawnData: { Anger: 32767 }}

This will spawn zombie pigmen with their Anger attribute set to the maximum value, so they won't go neutral anytime soon. ;)

Untested but something like that should probably work.

Avatar image
Cooper posted on March 5, 2015 @ 23:51 UTC

How do I make a Skeleton with a skeleton horse Spawner?

Avatar image
Noah (@kirsle) posted on March 5, 2015 @ 23:58 UTC

Ctrl+F, "Skeleton", I already answered how to get a skeleton riding on a skeletal horse.

/setblock ~ ~1 ~ mob_spawner 0 replace {EntityId: Skeleton, SpawnData: {Equipment:[{id:261,Count:1}], Riding: {id: EntityHorse, Type: 4, Tame: 1}}}

Note that the skeleton's AI does not override the horse AI, like baby zombies do with chickens (those are a special case). The horse will wander randomly as horses do, but with a skeleton hanging out on its back shooting arrows at you.

The horses also don't despawn like hostile mobs do, so watch the entity count if you don't want server lag.

Avatar image
Cooper posted on March 6, 2015 @ 01:44 UTC

thank you but can I get it with a saddle

Avatar image
Cooper posted on March 7, 2015 @ 01:49 UTC

Please REPLY

Avatar image
Noah (@kirsle) posted on March 7, 2015 @ 01:51 UTC

Google stuff... consult the Minecraft wiki... these commands are not black magic, they're logical, like programming.

I Googled "minecraft spawn horse with saddle" and I found this: http://www.planetminecraft.com/blog/how-to-summon-any-horses-in-minecraft/ -- first result. See if you can figure it out yourself.

Avatar image
Cooper posted on March 7, 2015 @ 02:07 UTC

Thank you you

Avatar image
Cooper posted on March 7, 2015 @ 02:10 UTC

Can you find a spawner that can spawn a skeleton with a skeleton horse {does not have to have a saddle} And the skeleton has a Stone hoe?

Avatar image
Noah (@kirsle) posted on March 7, 2015 @ 02:11 UTC

Try a tool like this one for generating complicated spawners like that (easier than searching the wiki for all the various item IDs and such):

http://www.minecraftupdates.com/summon-command

Or Google for "minecraft mob spawner generator" and find another one.

Edit: This one works better with stackable entities (mobs riding other mobs): http://mcstacker.bimbimma.com/

Avatar image
Cooper posted on March 7, 2015 @ 02:31 UTC

Please REPLY!!!!

Avatar image
Noah (@kirsle) posted on March 7, 2015 @ 02:39 UTC

I did reply...

Avatar image
Cooper posted on March 7, 2015 @ 15:19 UTC

yes thank you but I couldn't chose a Hoe?

Avatar image
Cooper posted on March 7, 2015 @ 15:20 UTC

sorry never mind

Avatar image
LordAlan posted on March 14, 2015 @ 20:07 UTC

se n for pedir de mais precise de sua ajuda pq estou no 1.7.4 e n consigo pegar o mob spawn do zombie pigman fala comando desconhecido se puder coloque o comando bem certinho para ele pfvor

Avatar image
guest posted on March 18, 2015 @ 18:51 UTC

Angry iron golem?

Avatar image
Guest posted on March 28, 2015 @ 14:07 UTC

how do you get a spawner with a zombie pigman and the zombie pigman to shoot a bow not hit you with it

Avatar image
Noah (@kirsle) posted on March 28, 2015 @ 22:36 UTC

Not possible, Zombie Pigmen don't have the AI to shoot a bow.

Avatar image
Caelan posted on March 30, 2015 @ 02:31 UTC

i cant get one for Wither Skeleton help anyone?

Avatar image
donovan posted on April 7, 2015 @ 20:23 UTC

it works for me just do Ctrl c then Ctrl v it workes

/setblock ~ ~ ~ mob_spawner 0 destroy {EntityId:Zombie}

Avatar image
Anonymous posted on April 7, 2015 @ 20:25 UTC

/setblock ~ ~ ~ mob_spawner 0 destroy {EntityId:whitherskelontan }

Avatar image
Noah (@kirsle) posted on April 7, 2015 @ 20:35 UTC

@Anonymous: Wither skeleton doesn't have its own entity ID.

I've pasted the command to create a wither skeleton spawner multiple times in this comment thread.

Wither skeleton is simply a Skeleton with the SkeletonType:1 attribute set.

Spawner for normal wither skeletons with stone swords (paste into command block, too long for chat console):

/setblock ~ ~ ~ mob_spawner 0 replace {EntityId: Skeleton, SpawnData:{SkeletonType:1, Equipment: [{id: 272},{},{},{},{}]}}

Avatar image
Todd posted on April 11, 2015 @ 12:50 UTC

THANK YOU!!

Avatar image
Anonymous posted on April 24, 2015 @ 01:08 UTC

golem spawner in ur hand no setblock how??????????

Avatar image
Noah (@kirsle) posted on April 24, 2015 @ 01:15 UTC

/give @p mob_spawner 1 0 {BlockEntityTag:{EntityId:VillagerGolem}}

Avatar image
Ronnie posted on May 7, 2015 @ 14:23 UTC

giant were used in minecraft. but it was many years ago. the were used in a biome that was super far up in the sky. the giants were non-hostile.

Avatar image
maik posted on May 8, 2015 @ 11:33 UTC

how is a Skeleton spawner

Avatar image
17Rainbow posted on May 9, 2015 @ 08:28 UTC

This site really helped me a lot! Thanks :)

Avatar image
17Rainbow posted on May 9, 2015 @ 08:30 UTC

Is it the same for 1.8?:|

Avatar image
17Rainbow posted on May 9, 2015 @ 08:34 UTC

I <3 minecraft! I <3 This help! :). It really helped me!

Avatar image
maiky posted on May 9, 2015 @ 10:49 UTC

what is the code for Skeleton spawner ???

Avatar image
HoppingYak76 posted on May 24, 2015 @ 21:23 UTC

how do i summon a guard like another me with armor and will guard me

Avatar image
lolpi posted on June 7, 2015 @ 00:45 UTC

You said in the post that you could not use [/give] to put spawners in players' inventories; You can use the {BlockEntityTag:{}} tag to allow spawners to have custom NBT upon being placed, and thereby allowing players to place custom spawners faster and more accurately, without [/setblock].


"Unfortunately, the /give command doesn't seem to allow you to add a monster spawner to your inventory."


/give @p mob_spawner 1 0 {BlockEntityTag:{EntityId:Zombie,SpawnData:{}}}

-lolpi

Avatar image
qwertyuiop posted on June 9, 2015 @ 15:45 UTC

is there a tamed wolf spawner please

Avatar image
qwertyuiop posted on June 28, 2015 @ 16:57 UTC

please answer can i please have a tamed wolf spawner

Avatar image
Rudy12345mc posted on July 2, 2015 @ 19:31 UTC

Guest straight abouve me, yes, but you need to add NBT data for who the wolfs are tamed to.

Avatar image
qwertyuiop posted on July 8, 2015 @ 16:36 UTC

so what do i write in the command block to get a tamed wolf spawner

Avatar image
qwertyuiop posted on July 16, 2015 @ 16:12 UTC

thank you kirsle for telling me how to get a tamed wolf spawner

(im being sarcastic)

Avatar image
Noah (@kirsle) posted on July 16, 2015 @ 16:51 UTC

Do you know your minecraft account's UUID? Do you know how to find your UUID? Because you need that to create a tamed wolf spawner.

I can't simply give you a copy-pasteable command that will do it. It's extremely specific to the owner of the tamed wolf. Wolves can't simply be tame, they have to have an owner to be tame to.

The chunk format wiki linked in the OP has a list of all NBT tags supported for all mobs.

There are dozens of examples of commands for spawning various mobs with various NBT tags already on this page.

Wolves need an OwnerUUID tag with a value that matches the UUID of the player you want to own the wolves that spawn.

Figure it out yourself.

Avatar image
guest posted on August 2, 2015 @ 12:52 UTC

omg! this worked!

Avatar image
diego posted on August 6, 2015 @ 22:39 UTC

I want a spawner to summon zombies wearing full diamond armor please help im good with commands but this is just too confusing

Avatar image
Noah (@kirsle) posted on August 6, 2015 @ 22:42 UTC

Untested, but I Googled it and something like this will probably work:

/setblock ~ ~ ~ mob_spawner 0 replace {EntityId: Zombie, SpawnData:{Equipment:[{id:276}, {id:317}, {id:312}, {id:311}, {id:310}]}}
Avatar image
Bob posted on August 8, 2015 @ 02:39 UTC

The command is supposed to be /setblock ~ ~ ~ minecraft:mob_spawner 0 replace {EntityId:(name)} The d in EntityId must be lowercase

Avatar image
Anonymous posted on August 11, 2015 @ 14:05 UTC

what is a set block command forslimes

Avatar image
qwertyuiop posted on August 15, 2015 @ 20:03 UTC

oh thanks a lot (im still sarcastic)

Avatar image
Anonymous posted on August 21, 2015 @ 18:39 UTC

This is SOOOO helpful!!!

I'm a server owner, and I needed working spawners for the survival aspect of the game (since there are literally NO animals around the area). THANK YOU SO MUCH

Avatar image
asdfghjkl posted on September 7, 2015 @ 15:26 UTC

how do i get a tamed wof spawner im noob btw i know my UUID

Avatar image
zxcvbnm posted on September 7, 2015 @ 15:32 UTC

hi can u tell me how to get zombievilager spawners? + shulker spawners plz

Avatar image
qwertyuiop posted on September 13, 2015 @ 16:31 UTC

ok kirsle i know my UUID but how do i get a tamed wolf spawner?

Avatar image
Anonymous posted on September 23, 2015 @ 03:54 UTC

I cant get a Slime spawner to actually spawn the slimes, any help??

Avatar image
a mystery? posted on October 1, 2015 @ 17:17 UTC

how i get a shhep named jeb_ (colour changer) spawnerr

Avatar image
Noah (@kirsle) posted on October 1, 2015 @ 17:41 UTC

@qwertyuiop:

Untested: /setblock ~ ~ ~ mob_spawner 0 replace {EntityId: Wolf, OwnerUUID:<your id>}

@Anonymous:

Mob spawners still have to follow the natural spawning rule for the mob in question. Slimes can only spawn in slime chunks below Y=40 or in swamp biomes.

@mystery?:

Probably something like this:

/setblock ~ ~ ~ mob_spawner 0 replace {EntityId:Sheep, SpawnData:{CustomName:"jeb_", CustomNameVisible:1}

(Untested)

Avatar image
StillAppreciative posted on October 16, 2015 @ 04:58 UTC

Still helping people with this info, lol This far into the future from its original post. xD

Avatar image
Daedalus posted on October 27, 2015 @ 05:26 UTC

i've looked and looked online but cant find anything, do you know how to disable a spawned iron golem spawner or a guardian one, they seem to work regardless of light level. ( i want to keep them in a spot and turn it on and off)

Avatar image
Anonymous posted on October 30, 2015 @ 20:40 UTC

Oh my god thanks so much!!!!!!!!!!!!!!!!

Avatar image
Carmen Nemeth posted on November 11, 2015 @ 01:50 UTC

Thx soooo much! It is awesome!BD

Avatar image
qwertyuiop posted on November 16, 2015 @ 20:28 UTC

thank you

Avatar image
Helberson posted on November 18, 2015 @ 16:38 UTC

so summonei o bloco mas nao espawna

Avatar image
Anonymous posted on November 22, 2015 @ 20:16 UTC

spider spawner

Avatar image
Anonymous posted on December 12, 2015 @ 21:13 UTC

it did not work. sorry about that before. do you change ~ ~ ~ to numbers?

Avatar image
BlackAdder1 posted on December 17, 2015 @ 13:45 UTC

Thanks. MobSPAWNER

Avatar image
YOurMUM posted on December 22, 2015 @ 13:26 UTC

Thanks

Avatar image
human #496273888881 posted on January 10, 2016 @ 14:21 UTC

how do i put 2 mobs in 1 spawner

Avatar image
? posted on January 13, 2016 @ 20:36 UTC

how do i get a spawner that spawns: dropped diamonds

Avatar image
Noah (@kirsle) posted on January 13, 2016 @ 21:08 UTC

Use command blocks to summon dropped diamonds.

Something along the lines of:

/summon Item ~ ~1 ~ {Item:{id:diamond,Count:1}}

Item entities have no valid spawning conditions normally, so putting them in a mob spawner won't cause it to spawn any items. You could have the spawner create an entity that is "riding" a diamond item, but that would just look silly.

Avatar image
Sonix711 posted on January 18, 2016 @ 01:13 UTC

Hey :)

Here are the commands for spawners I use - might help someone...not sure if they are completely correct, but they definitely work...


For normal mob or animal spawners I use inventory spawners:-

/give @p mob_spawner 1 0 {BlockEntityTag:{EntityId:Sheep}, display:{Name:Sheep Spawner}}

For custom spawners I use command blocks to create spawners:-

/setblock ~ ~1 ~ minecraft:mob_spawner 0 replace {EntityId:Item,Delay:1,SpawnCount:10,SpawnData:{Item:{id:"torch",Delay:1,SpawnRange:2,MinSpawnDelay:1,MaxSpawnDelay:3,PickupDelay:1,Count:10}}}

For Slimes I used this website ( http://chunkbase.com/apps/slime-finder#-7564793292415279691 ) to upload my level.dat file and it shows you the slime chunk coordinates in your world...I picked a chunk, & dug to "Y" level less than 40 and dug a 1 chunk room (16 blocks x 16 blocks, and about 7 blocks high, and placed a spawner in the middle of the room using the inventory spawner command:-

/give @p mob_spawner 1 0 {BlockEntityTag:{EntityId:Slime}, display:{Name:Slime Spawner}}

I surrounded the spawner with bedrock for protection, 1 block all around the spawner, and it works perfectly!

Hope Helps... :)

ok, so, the problem I have is that I am trying to create a spawner for jungle saplings, but can only get oak saplings (default:0):-

/setblock ~ ~1 ~ minecraft:mob_spawner 0 replace {EntityId:Item,Delay:1,SpawnCount:10,SpawnData:{Item:{id:"sapling",Delay:1,SpawnRange:2,MinSpawnDelay:1,MaxSpawnDelay:3,PickupDelay:1,Count:10}}}

This is because there is a secondary id number of 3 for jungle saplings, but I dont know where to add it to this command...I'm sure its a Type:3 or Type:jungle sort of configuration, but have tried many different combinations and can only get oak saplings or stone to spawn... :)

If anyone can help it would be very much appreciated !!!

Thanks Kirsle for such a wicked page !!! :)

Cheers !!!

Sonix711.

Avatar image
Sonix711 posted on January 22, 2016 @ 18:31 UTC

Hey :)

Ok, so the post above was for version 1.8.9... I have just been trying spawners in version 16w03a ( beta 1.9) in a world I created in 1.8.9 - here is what I have found:-

1 - Standard and Custom spawners already created in 1.8.9 seem to function correctly, but the original command block commands wont work anymore to create them again.

2 - I couldnt /give myself a chicken spawner anymore for some reason, although I did get a pig spawner instead each time...perhaps I'm missing something in the /give command...

The following commands are all tested as working, so should help someone...

============== Give Command Block:-

/give @p minecraft:command_block 1

Give 1 Slime Spawn Egg:- /give @p minecraft:spawn_egg 1 0 {EntityTag:{id:"Slime"}}

THIS NO LONGER WORKS:- /give @p minecraft:spawn_egg 64 55

============== Command Block Only Command - Torch Spawner:- /setblock ~ ~1 ~ minecraft:mob_spawner 0 replace {SpawnData:{id:"Item",Item:{id:torch,Count:1}},SpawnCount:1,SpawnRange:3,RequiredPlayerRange:11,Delay:1,MinSpawnDelay:1,MaxSpawnDelay:3,MaxNearbyEntities:1000}

THIS NO LONGER WORKS:- /setblock ~ ~1 ~ minecraft:mob_spawner 0 replace {EntityId:Item,Delay:1,SpawnCount:10,SpawnData:{Item:{id:"torch",Delay:1,SpawnRange:2,MinSpawnDelay:1,MaxSpawnDelay:3,PickupDelay:1,Count:10}}}

============== Command Block Only Command - Chicken Spawner:- /setblock ~ ~1 ~ minecraft:mob_spawner 0 replace {SpawnData:{id:"Chicken"}}

THIS DOESNT SEEM TO WORK ANY LONGER:- /give @p minecraft:mob_spawner 1 0 {SpawnData:{id:"Chicken"},display:{Name:Chicken Spawner}}

Please post corrections as required, thanks !!!

============== Give 1 Jungle Sapling:- /give @p minecraft:sapling 1 3

I Never did get this to work in a spawner...???

==============

Comments welcome :)

Cheers everyone - Cheers to Noal also !!!

Sonix711.

Avatar image
Noah (@kirsle) posted on January 22, 2016 @ 18:43 UTC

Thanks @Sonix711. I heard the command syntax/NBT tags were changed for Minecraft 1.9 but didn't look up the specifics.

I'll probably make a new version of this post when 1.9 is released and update this one to refer people to the new post. This post has tons and tons of comments and it'd be nice to get a fresh start.

I'm actually surprised the torch spawner worked but not the jungle sapling spawner. My understanding of spawners were that they'd basically just increase the odds of the particular mob spawning in its vicinity, but that the spawn conditions still had to be met for that mob to spawn. For example, hostile mob spawners could be essentially disabled by putting a bunch of torches around it so that the light level isn't compatible with hostile mob spawning. Or, how passive mob spawners (sheep, pigs, etc.) would only spawn their mob if there were grass blocks nearby and a high light level.

And mob spawners such as for the Giant would never spawn a giant at all, because the giant requires light levels that are impossible (I don't remember the exact numbers offhand, but something like "light level greater than 6 and less than 4" which is an impossible situation, so no giant ever spawns). Similarly, Slime spawners would only spawn a Slime if it's in a swamp biome or in a slime chunk, at a Y coordinate where slimes normally spawn.

I wouldn't think torches would have any "natural" spawn conditions so that the spawner wouldn't produce any. That should be true for all items. I've seen people hack around it by making a mob spawner that spawns something "riding" an item (like, an invisible bat riding a diamond item). This would work because only the top mob needs to have its spawn conditions met, and anything it's riding on comes along with it.

Avatar image
Earvin Kvin Vallega Adorias posted on January 31, 2016 @ 07:28 UTC

Salamat sa lahat Kirsle

Avatar image
Marlene snell posted on February 2, 2016 @ 18:02 UTC

I'm using 1.8.9 and I've tired all of the horse commands/summonings and none of them have worked

Avatar image
jessimer posted on February 6, 2016 @ 04:42 UTC

panget ako totoo iyon maniwala kayo panget ako

Avatar image
Richard posted on February 6, 2016 @ 09:44 UTC

ang pogi ko

Avatar image
Nathan43615 posted on February 17, 2016 @ 22:11 UTC

The Command /gamerule mobGriefing off is Now /gamerule mobGriefing false

Avatar image
Noah (@kirsle) posted on February 17, 2016 @ 22:38 UTC

Good to know; updated the original post.

Avatar image
andrew posted on February 27, 2016 @ 21:09 UTC

was just curious if you have the exact command to be able to give myself a skeleton spawner?

Avatar image
Sonix711 posted on February 27, 2016 @ 22:44 UTC

Hey :)

Thanks for reading and thanks for comments :)

This should help...

1.8 commands:-

/give @p mob_spawner 1 0 {BlockEntityTag:{EntityId:Creeper}, display:{Name:Creeper Spawner}}

/give @p mob_spawner 1 0 {BlockEntityTag:{EntityId:Skeleton}, display:{Name:Skeleton Spawner}}

/give @p mob_spawner 1 0 {BlockEntityTag:{EntityId:Spider}, display:{Name:Spider Spawner}}

/give @p mob_spawner 1 0 {BlockEntityTag:{EntityId:Enderman}, display:{Name:Enderman Spawner}}

/give @p mob_spawner 1 0 {BlockEntityTag:{EntityId:Silverfish}, display:{Name:Sfish Spawner}}

/give @p mob_spawner 1 0 {BlockEntityTag:{EntityId:Blaze}, display:{Name:Blaze Spawner}}

/give @p mob_spawner 1 0 {BlockEntityTag:{EntityId:Witch}, display:{Name:Witch Spawner}}

/give @p mob_spawner 1 0 {BlockEntityTag:{EntityId:Guardian}, display:{Name:Guardian Spawner}}

/give @p mob_spawner 1 0 {BlockEntityTag:{EntityId:Endermite}, display:{Name:Endermite Spawner}}

/give @p mob_spawner 1 0 {BlockEntityTag:{EntityId:EntityHorse}, display:{Name:Horse Spawner}}

/give @p mob_spawner 1 0 {BlockEntityTag:{EntityId:Cow}, display:{Name:Cow Spawner}}

/give @p mob_spawner 1 0 {BlockEntityTag:{EntityId:MushroomCow}, display:{Name:MCow Spawner}}

/give @p mob_spawner 1 0 {BlockEntityTag:{EntityId:Pig}, display:{Name:Pig Spawner}}

/give @p mob_spawner 1 0 {BlockEntityTag:{EntityId:Sheep}, display:{Name:Sheep Spawner}}

/give @p mob_spawner 1 0 {BlockEntityTag:{EntityId:Chicken}, display:{Name:Chicken Spawner}}

/give @p mob_spawner 1 0 {BlockEntityTag:{EntityId:Slime}, display:{Name:Slime Spawner}}

/give @p mob_spawner 1 0 {BlockEntityTag:{EntityId:Rabbit}, display:{Name:Rabbit Spawner}}

/give @p mob_spawner 1 0 {BlockEntityTag:{EntityId:Ozelot}, display:{Name:Ozelot Spawner}}

/give @p mob_spawner 1 0 {BlockEntityTag:{EntityId:Wolf}, display:{Name:Wolf Spawner}}

/give @p mob_spawner 1 0 {BlockEntityTag:{EntityId:Villager}, display:{Name:Villager Spawner}}

/give @p mob_spawner 1 0 {BlockEntityTag:{EntityId:Bat}, display:{Name:Bat Spawner}}


These commands can be run from either the chat command line or from a command block...

================

/give @p minecraft:command_block 1

================

Coal Spawner - works well when placed above hoppers that feed fuel into furnaces, although a slight pain to build...

/setblock ~ ~1 ~ minecraft:mob_spawner 0 replace {EntityId:Item,Delay:1,SpawnCount:10,SpawnData:{Item:{id:"coal",Delay:1,SpawnRange:2,MinSpawnDelay:1,MaxSpawnDelay:3,PickupDelay:1,Count:10}}}


Automatic Furnace:-

Step 4: sneak and place one hopper on the top and 1 hopper on the left side (important) of the furnace. (The top one will insert the items into the furnace, which get smelted / cooked; The hopper on the left side inputs coal into the furnace)

(really sorry - cant remember where I got Step 4 info from originally...)

==============

For 1.9 commands, please see my post above - when 1.9 comes out... :)

Hope helps... shout if any problems or whatever... :) Take care.

Sonix711

Avatar image
Andrew posted on February 28, 2016 @ 17:06 UTC

Hey thank you so much thats a really big help

Avatar image
Sonix711 posted on March 3, 2016 @ 12:57 UTC

Hey :)

1.9 released - how about that !!! :)

Commands Update from Original Reddit Post ( https://www.reddit.com/r/bitquest/comments/48rt7u/custom_spawners_infinite_fuel_furnace_slime/ )


1.9

I don't know if you can /give Mob Spawners anymore, but this command will create the Mob Spawner using a Command Block. Change the SpawnData id as required for the particular mob you want to have spawned from the spawner.

eg - Slime Spawner ( also see further info below for Slime Spawner )

/setblock ~ ~1 ~ minecraft:mob_spawner 0 replace {SpawnData:{id:"Slime"}}

Command Block command to spawn any Item that doesn't use a seperate Type number, or just the Type:0 of that Item will spawn. Change the "{id:coal" as required for the particular item you want to have spawned from the spawner.

eg - coal

/setblock ~ ~1 ~ minecraft:mob_spawner 0 replace {SpawnData:{id:"Item",Item:{id:coal,Count:10}},SpawnCount:1,SpawnRange:2,RequiredPlayerRange:11,Delay:1,MinSpawnDelay:1,MaxSpawnDelay:3,MaxNearbyEntities:300}

To Create a Slime Spawner, its slightly more complicated as the Slimes will only spawn in specific locations, called Slime Chunks...

I used ChunkBase ( http://chunkbase.com/apps/slime-finder ) to find the Slime Chunk, then the following to make the Spawner work...


"For Slimes I used this website ( http://chunkbase.com/apps/slime-finder ) to upload my level.dat file and it shows you the slime chunk coordinates in your world...I picked a chunk, & dug to "Y" level less than 40 and dug a 1 chunk room (16 blocks x 16 blocks, and about 7 blocks high, and placed a spawner in the middle of the room using the inventory spawner command"


For 1.9 use the Command Block to create the Slime Spawner, and again, make sure the Slime Spawner is below level 40 for it to work.


Hope this is helpful... :)

Comments & Questions always welcome...

Beware the Coal Spawner in 1.9 - it's a bit mental as it tries to cover itself in Coal... perhaps a little command tweaking is required... :)

See you all on BQ 2 when its "released".

Take care.

Sonix711.

PS - I meant to mention MC Map GUI ( http://wrim.pl/mcmap/ ) not sure if BQ used this app, but its wicked for creating an over the top image of your world...

PPS - sorry about the text sizes - I was using - and = in multiples to seperate the info, and I don't think it like it... :)

Edit by Kirsle: fixed markdown formatting.

Avatar image
Devin posted on March 17, 2016 @ 17:09 UTC

what are the commands for 1.9??

Avatar image
Noah (@kirsle) posted on March 17, 2016 @ 22:25 UTC

@Devin:

/setblock

For using /setblock to create a spawner block in the world, use "SpawnData:{id:Zombie}}" instead of "EntityId:Zombie" -- replace "Zombie" with whatever mob entity ID you want (several are listed on the original blog post, the rest are in the Minecraft wiki).

Old way: /setblock ~ ~ ~ mob_spawner 0 replace {EntityId:Enderman} New way: /setblock ~ ~ ~ mob_spawner 0 replace {SpawnData:{id:Enderman}}

/give

Similarly, for the /give syntax, replace the whole "EntityId:Skeleton" part with "SpawnData:{id:Skeleton}":

Old way: /give @p mob_spawner 1 0 {BlockEntityTag:{EntityId: Skeleton}, display:{Name:Skeleton Spawner}} New way: /give @p mob_spawner 1 0 {BlockEntityTag:{SpawnData:{id:Skeleton}}, display:{Name:Skeleton Spawner}}

Note that the /give version might need to be pasted into a command block if it's too long to type in chat normally.

Avatar image
ta maman posted on March 26, 2016 @ 13:51 UTC

C dla merde

Avatar image
this was really helpful! posted on March 31, 2016 @ 19:33 UTC

this was awesome

Avatar image
greyeyedpainter posted on April 1, 2016 @ 22:07 UTC

Hello there! I'm building a training center and I'm having issues with the codes for the spawners. I got the /give @p mob_spawner 1 0 {BlockEntityTag:{SpawnData:{id:Skeleton}}, display:{Name:Skeleton Spawner}} to work, but when I placed the block it only produced one Skeleton, then the skeleton within the spawner turned into a pig and it won't produce anything now. Any thoughts on how to make it work? Please and thank you.

Avatar image
Noah (@kirsle) posted on April 1, 2016 @ 22:22 UTC

@greyeyedpainter:

It looks like a bug in Minecraft 1.9. The SpawnPotentials tag is apparently initialized to include pigs, and for some reason if you don't explicitly define this tag it will get its default (pig) value, when the default should be an empty list.

Setting it explicitly to an empty list seems to fix it:

/give @p mob_spawner 1 0 {BlockEntityTag:{SpawnData:{id:Skeleton},SpawnPotentials:[]}}

Avatar image
Mhelvin posted on April 14, 2016 @ 14:04 UTC

Sir i use the zombie horse spawner and when it load it crash :D i`m an admin in online server how to remove it ?? please help mi Sir kirsle

Avatar image
mhelvin posted on April 14, 2016 @ 14:04 UTC

i`m using 1.7.9 client

Avatar image
Noah (@kirsle) posted on April 14, 2016 @ 17:52 UTC

@Mhelvin:

If you happen to know the exact coordinates of where the spawner was (or a rough enough idea of where it's at), and the server itself doesn't crash on startup (so you can type server commands into the console), you can use /setblock or /fill to replace the spawner with something else.

Otherwise, you may need to download the server world, use a tool like MCEdit and delete the spawner that way.

Or, upgrade your server to a newer version like 1.8 or 1.9 where the zombie horse spawner doesn't crash the game. But if you're using custom server mods that aren't supported on those versions... try the above things.

Avatar image
guest posted on April 24, 2016 @ 19:36 UTC

I tried the Type:1 for the Wither Skeleton but it doesn't work for the /give command

Avatar image
Steve posted on May 11, 2016 @ 05:54 UTC

in the 1.9 version the /give @p mob_spawner 1 0 {BlockEntityTag:{SpawnData:{id:Villager Golem},SpawnPotentials:[]}}

Seems Not To Work So Please Fix It :3 i will be very happy if you could

Avatar image
minecraft commands posted on June 1, 2016 @ 12:52 UTC

it does not work for 1.9 forge

Avatar image
sven schouterden posted on June 10, 2016 @ 17:25 UTC

when i do the command for villager spawner it just give me a normal pig spawner can someone help me? thank you

Avatar image
Namor posted on June 14, 2016 @ 16:59 UTC

For some reason none of the commands work for a survival world. Any help?

Avatar image
TheGamingSpeeds posted on July 10, 2016 @ 17:32 UTC

How do you give yourself the spawner like example a skeleton spawner?

Avatar image
Noah (@kirsle) posted on July 10, 2016 @ 20:30 UTC

That was literally right at the top of the post, all color-coded in cyan, orange and lime green, impossible to miss it.

Avatar image
DARDAR21 posted on August 11, 2016 @ 18:42 UTC

GG, nice page, rly good and helpful !!!!

Avatar image
TBP MC posted on September 3, 2016 @ 19:51 UTC

Really nice page

Thanks

Avatar image
DJAwsome56 posted on October 16, 2016 @ 14:51 UTC

How do you get a monster spawner without anything in it

Avatar image
Noah (@kirsle) posted on October 16, 2016 @ 22:42 UTC

@DJAwsome56: I think if you just leave an empty EntityId, it gives you an empty spawner. Or give it an EntityId that doesn't exist. I've managed to get an empty spawner before but I forgot the details but those are some things I'd try.

Avatar image
guest posted on November 19, 2016 @ 13:11 UTC

I used version 1.10.2 and i noticed that the item that you get from the /give command doesn't work in survival mode. Any help please reply :3

Avatar image
shirox posted on December 13, 2016 @ 07:12 UTC

when i use these commands it only spawns a pig spawner nothing else i have tried everything

Avatar image
Sonix711 posted on December 15, 2016 @ 16:06 UTC

Hey everyone :)

Ok...there is a problem...but I have a solution... :)

===

This should get you a torch spawner:-

/setblock ~ ~1 ~ minecraft:mob_spawner 0 replace {SpawnCount:10,SpawnRange:3,RequiredPlayerRange:7,MaxNearbyEntities:300,Delay:1,MinSpawnDelay:1,MaxSpawnDelay:3,SpawnData:{id:"minecraft:item",Item:{id:torch,Count:1b}}}

===

Here's how I did it:-

1 - Go to https://mcstacker.bimbimma.com/

2 - Open another Browser tab or window and go to the above website in that tab too...trust me...

3 - In the first tab, fill in the website form to create a SetBlock Mob Spawner ( Command Type=SetBlock, Block=Monster Spawner - both are drop down lists ).

4 - In the second website tab / window, fill in the same website form to Summon an Item ( Command Type=Summon, Entity=item - both are drop down lists )

5 - Select and copy the Summon Item command from the second website tab / window and paste this command into the "Summon Command:" box on the first website tab / window.

6 - Copy the final command from the first website tab / window into the "Command Block" command line in Minecraft...

DONE !!! :)

===

This is how I generated the command for the torch spawner :)

===

NOTE:-

SpawnCount:10 = how many groups of torches to drop. Count:1b = how many torches in a group to drop. I'm not sure what the "b" means, but its meant to be there as far as I know...

So, this spawner should drop 10 groups of 1 torch every spawn. If you change it the other way round, ( make 10 to a 1 and make 1 to a 10 ), it should drop 1 group of 10 torches.

===

ALSO:-

This should get you an empty mob spawner that doesn't do anything, if I remember correctly from trial and error earlier... :)

/setblock ~ ~1 ~ minecraft:mob_spawner 0 replace {SpawnData:{id:"minecraft:torch"}}

===

Hope helps... shout if any probs...I have only tested with this command so far...

Take care everyone... Cheers.

Sonix711.

Avatar image
Sonix711 posted on December 27, 2016 @ 16:21 UTC

Hey :)

Just a quick addition...

Sand and Red Sand are both item "sand", but have different data values - Sand = 0, Red Sand = 1...if no data value is used, then the default of 0 is used, as far as I know...

If you make a spawner that has an extra data value, like sand or red sand, then you need to add Damage:1 to the command... or Damage: and the number for whatever number the item data value is...

eg - Sand:-

/setblock ~ ~0 ~1 minecraft:mob_spawner 0 replace {SpawnCount:1,SpawnRange:3,RequiredPlayerRange:11,MaxNearbyEntities:50,Delay:1,MinSpawnDelay:1,MaxSpawnDelay:3,SpawnData:{id:"minecraft:item",Item:{id:sand,Count:1b}}}

eg - RED Sand:-

/setblock ~ ~0 ~1 minecraft:mob_spawner 0 replace {SpawnCount:1,SpawnRange:3,RequiredPlayerRange:11,MaxNearbyEntities:50,Delay:1,MinSpawnDelay:1,MaxSpawnDelay:3,SpawnData:{id:"minecraft:item",Item:{id:sand,Damage:1,Count:1b}}}

Hope helps...Shout if any probs...Have Fun... :)

Sonix711.

Avatar image
Coffee posted on February 17, 2017 @ 00:59 UTC

I Tried The Iron Golem Spawner Command and it Didn't work in 1.11.2 is there a new command for it or something, plz tell

Avatar image
Sonix711 posted on February 17, 2017 @ 01:36 UTC

Hey :)

This should work for you - I'm actually on here trying to figure something else out, spawner wise, and just saw your comment... :) bet you put iron_golem instead of villager_golem - well, thats the mistake I still make anyway... :) you should be able to alter the command as required fairly easily... I think it gets a bit lagggy when you have the required player range or the required spawn range too large...suck it and see... :)

/setblock ~ ~1 ~ mob_spawner 0 replace {SpawnCount:1,MaxNearbyEntities:5,SpawnRange:64,Delay:30,MinSpawnDelay:30,MaxSpawnDelay:60,RequiredPlayerRange:15,EntityId:villager_golem,SpawnData:{id:villager_golem}}

Normally I get an email when someone comments, so not sure what went wrong this time... :)

Hope helps....shout if any probs... Cheers :)

Sonix711.

Avatar image
l posted on April 29, 2017 @ 02:54 UTC

this is dumb kids use mods

Avatar image
gavin posted on April 29, 2017 @ 23:37 UTC

can i get a iron golem spawner?

Avatar image
Quint posted on June 16, 2017 @ 21:15 UTC

That was awesome! I tried and it worked! But I am wondering if you can spawn a giant spider. Is it possible?

Avatar image
geeeeeeeeeeo posted on June 16, 2017 @ 21:20 UTC

that was dumb i tried and i died

Avatar image
Quint posted on June 16, 2017 @ 21:22 UTC

Uh that is rude.

Avatar image
geeeeeeeeeeo posted on June 16, 2017 @ 21:24 UTC

i am dumb play against me on tumble "Quint"!

Avatar image
Quint posted on June 16, 2017 @ 21:28 UTC

OK geeeeeeeeeeo. ok, kirsle , can you please tell me?

Avatar image
Noah (@kirsle) posted on June 16, 2017 @ 21:31 UTC

There is no giant spider entity programmed into the game. The only reason a giant 'zombie' is possible is because there's an entity dedicated to it, called the Giant. Mojang didn't end up using the Giant, so the fact it looks like a zombie was probably because the zombie model was a placeholder.

The only spider options are Spider and CaveSpider.

Avatar image
Fredashay posted on July 3, 2017 @ 19:38 UTC

The easiest way to give yourself a mob spawner is:

/give @p mob_spawner

This will give you a pig spawner.

Then give yourself a mob egg and RIGHT-click on the mob inside the spawner (a little tricky) while holding the egg. This will turn the spawner into that kind of mob spawner.

This works on the PC version of 1.12. I don't know about other versions.

It took some trial and error to discover this because no web site or you tube video (NOT A SINGLE ONE!!) explains this clearly or completely.

Avatar image
Hello posted on August 7, 2017 @ 18:14 UTC

how do you give myself a mob egg

Avatar image
how posted on August 7, 2017 @ 18:30 UTC

how do you place a spawner that spawns witch riding bats? .P.S. please make it short i do not lke typing

Avatar image
Fredashay posted on August 7, 2017 @ 21:46 UTC

The only way to give yourself a mob egg is to be in creative mode. Press E to open the menu of all things, and just give yourself one.

You can't create a spawner that spawns witches riding bats. You can only create a spawner for which you can give yourself a mob egg for. If you want to spawn one mob riding another, you need to use a command block. Command block commands are rather complicated, so you'll need to watch a You Tube video on how to program them...

Avatar image
Armor_harmer posted on November 20, 2017 @ 16:36 UTC

Thank you for this article. It gave me a good start.

I was trying to use your command in 1.12.2, I wanted to be able to put a spawner in a chest for someone to find and pull out and use later.

Unfortunately, when the spawner was placed, it would start out as a skeleton spawner but then upon spawning its first skeleton or two it would change to a pig spawner. This was definitely undesirable behavior. So I used a command block to look at the block data of the spawner and discovered the "SpawnPotentials" tag.

Here's the command that ended up working for me (so I wouldn't always end up with a pig spawner, lol)

/give @p mob_spawner 1 0 {BlockEntityTag:{SpawnData:{id:Spider},SpawnPotentials:[{Entity:{id:"minecraft:spider"},Weight:"1"}]},display:{Name:"Spider Spawner"}}

After discovering this, I also ended up creating a spawner that would switch between cave spiders and normal spiders, cave spiders being slightly more likely to spawn than spiders (the smaller the weight number, the more likely it will spawn it seems):

/give @p mob_spawner 1 0 {BlockEntityTag:{SpawnData:{id:Spider},SpawnPotentials:[{Entity:{id:"minecraft:cave_spider"},Weight:"0.8"},{Entity:{id:"minecraft:spider"},Weight:1}]},display:{Name:"Spider Spawner"}}

Avatar image
dinnerbone.jr posted on March 28, 2018 @ 17:20 UTC

i love it

Avatar image
pro_mincrafter posted on April 13, 2020 @ 16:37 UTC (updated 4/13/20 16:39 UTC)

this will be so helpful thx

Avatar image
pro_mincrafter posted on April 13, 2020 @ 16:44 UTC

the only thing is i use the summon command a lot

Avatar image
Adhnaniscool posted on November 3, 2020 @ 07:25 UTC (updated 11/3/20 07:26 UTC)

it is working thanks for the commant

Avatar image
RANDOM posted on January 13, 2022 @ 09:17 UTC

/setblock ~ ~1 ~ minecraft:mob_spawner 0 replace {spawnCount:9,spawnRange:9,delay:1,minSpawnDelay:1,maxSpawnDelay:2,requiredPlayerRange:9,EntityId:"villager_golem",SpawnData:{}}

Avatar image
RANDOM posted on January 13, 2022 @ 09:18 UTC

Adhaniscool is BADDDD

Add a Comment

Used for your Gravatar and optional thread subscription. Privacy policy.
You may format your message using GitHub Flavored Markdown syntax.