How do I spawn a Creeper spawner?
How do I make a Creeper spawner in Single player?
34 Answers
This is quite easy:
/setblock ~ ~ ~ mob_spawner 0 replace {EntityId:"Creeper"}Of course you can replace Creeper with any other type of mob, like Pig or Zombie.
Type /give (username here) minecraft:mob_spawner and then get a creeper spawn egg out of creative and right click the spawner with it then you should be good to go.
If you want a mob spawner block (that spawns creepers), just type /give @p mob_spawner, then place and right-click with a creeper egg.
Yes.
The easiest way would be too give yourself a creeper spawner, which can be done by:
/setblock ~ ~ ~ mob_spawner 0 replace {EntityId:"Creeper"}One alternative though could be too set up a command block clock which spawns in a creeper every [number of seconds]. This can be done with:
/spawnmob <mob> [amount of mobs]Another way if command blocks aren't your thing would be too once again set up a redstone clock, and connect it too a dispenser full of creeper eggs. While this would not be infinite (at least without commands filling the dispenser up every time one leaves), it would certainly spawn 621 creepers before a refill was required, all without using command blocks.
But if you don't mind the mod option, a very good mod that can do this is the "Too Many Items" mod, which can also do a whole lot more which I'm sure you'll find very interesting.
6