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?
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.
- You can install the singleplayer mod SinglePlayerCommands then type:
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
- 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.
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!
Originally posted by codeulike in comments:
Since 1.7 the
/summoncommand 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 https://minecraft.wiki/w/Commands