How do I slash command spawn Mobs?

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?

3

6 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.

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!

2

Not totally sure whether this post is active at all, but with Minecraft 1.7+, you can use the /summon command to spawn in any entity you wish. The link leads to the Minecraft Wiki page for commands.

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!

0

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

Originally posted by codeulike in comments:

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

You Might Also Like