Ok, so I am trying to make a dungeon crawler map, but creepers keep spawning. I want to have certaint mobs spawn (like skeletons, and zombies) but not others (like creepers.) Is there a way to do this? I know that some map makers, like the one who did the minelight zone (awesome map BTW) are able to do this. Any help will be apreciated! :-)
You can kill every creeper automatically with this command:
tp @e[type=Creeper] ~ -500 ~
They don't drop anything and the white particles don't show.
If you don't want to completely remove creepers from your world, you can tag the ones you need (spawners can spawn tagged creepers so you can make them spawning from spawners only) and kill non-tagged ones with this command:
tp @e[type=Creeper,tag=!YOUR_TAGS_NAME] ~ -500 ~
Replace YOUR_TAGS_NAME with the tag you're using.
Both commands MUST run in a repeating command block or a function called every tick to work.