Take the 2-minute tour ×
Arqade is a question and answer site for passionate videogamers on all platforms. It's 100% free, no registration required.

How do I spawn mobs via a command in Minecraft 1.5? I keep doing the command "/spawn 99 1" (Iron Golem) but I just get a message that says that it isn't a valid command. How do I do it?

share|improve this question
2  
Where did you learn of this command? I know this is a command in the mod Single Player Commands. –  Resorath Mar 23 '13 at 7:04
    
Do you have the mod for the command installed? –  Jeffrey Lin Mar 23 '13 at 11:19
    
You can't spawn some mobs like iron golemns and snow golems, but you can make them. –  Whale_Maniac Apr 9 '13 at 0:40
    
I dont have enough rep to answerr but since 1.7 the /Summon command has been added, it will spawn mobs one at a time with options like names and armour, and can be fired by a control block. See minecraft.gamepedia.com/Commands –  codeulike Jan 24 at 11:18
add comment

4 Answers

That's because it isn't a command. In vanilla, or unmodded, Minecraft, there is not a way to spawn monsters or animals with commands. If you wish to spawn mobs, there are 2 options:

First: Use unofficial mods to spawn mobs. Second: Use mob eggs to spawn mobs.

  1. You can install the singleplayer mod SinglePlayerCommands then type:

/spawn [Number of Mobs]

You can also use the common server mod "Bukkit" for spawning mobs via commands on multiplayer. Add the plugin Essentials to your bukkit server (or any other plugin that allows spawning of mobs via commands), and type

/spawnmob

  1. In creative mode, click on the compass tab in your inventory, and scroll towards the bottom. You should see some "Spawn Eggs" with which you can use to spawn monsters; just right click a block while holding a spawn egg.

If you are in singleplayer mode but not in creative, click Esc, Open to LAN server, Enable Cheats, then Create Server.

Type /gamemode 1 and you should be in creative mode.

share|improve this answer
add comment

If you have cheats enabled (if this is singleplayer), or if you are oped in multiplayer (vanilla multiplayer, you might have a slightly different command if you have Bukkit plugins installed), you can use /give @p 383 99 to get Iron Golem spawn eggs you can use. Hope this helps!

share|improve this answer
    
Does @p work outside of command blocks? –  SevenSidedDie Mar 30 '13 at 22:02
    
Yeah, you can use the all of the scripting features of 1.4 both in the command window and using command blocks. –  Nathan2055 Mar 31 '13 at 18:15
add comment

There isn't a vanilla command for spawning mobs.

You can do the following;

  • Install this mod. This will give you the /spawn command and much more
  • (Unsure about this one) Open the game as LAN game, and be sure you're in creative. Then you'll be able to use most of the commands implented in the vanilla version of minecraft.

I hope this will answer your question! Have fun killing those creepers!

share|improve this answer
add comment

Try /mob (nameofmob) (numberofmobs) if you have WorldGuard or SinglePlayerCommands.

share|improve this answer
add comment

protected by Community Aug 10 '13 at 19:45

Thank you for your interest in this question. Because it has attracted low-quality answers, posting an answer now requires 10 reputation on this site.

Would you like to answer one of these unanswered questions instead?

Not the answer you're looking for? Browse other questions tagged or ask your own question.