Bad Mobs Mod

Minecraft Guides
7 Min Read

Bad Mobs is a tool that enables players to remove specific mobs from the natural spawning list in Minecraft. This feature is especially useful for Zombie Apocalypse mod packs, where players may want to allow only certain mobs, such as Zombies, Husks, and Zombie Villagers, to spawn while preventing others, like Creepers, Spiders, and Skeletons, from appearing.

This is one of many of our Mod Wikis, here at Minecraft Guides. If you're interested in finding out about more of Minecraft's Best Mods, then check out our dedicated section! We allow you to sort by Forge, Fabric, Minecraft Version and Genre!

Using Bad Mobs for 1.7.10 - 1.12.2

Before being able to configure the Bad Mobs mod, you’ll need to install it and run Minecraft at least once. That way, all the editable configuration files are created. Once Minecraft has reached the main menu, it can be closed.

Inside your Minecraft ‘config’ folder, you should see a file called badmobs.cfg. You can open this up with a text editor of your choosing, but a common choice would be Notepad or Wordpad.


    # A list of all banned mobs
    S:bannedMobs <
        example1
        example2
        example3
     >

Look for the snippet shown above, where you’ll see example1, example2, and example3. Delete the ‘example1’ and only the text. Any empty spaces beforehand need to be kept intact. Otherwise, the mod might not load correctly.

Then you can enter the names of mobs you don’t want to spawn. You must do so in the following format: minecraft:enderman, except you can replace ‘enderman’ with a mob of your choice.


    # A list of all banned mobs
    S:bannedMobs <
        minecraft:creeper
        minecraft:skeleton
        minecraft:wolf
     >

Repeat this process for the other example lines, replacing them with more mobs and adding more lines if necessary. Use the code above as an example, where it would prevent the spawning of Creepers, Skeletons, and Wolves.

Remember, you mustn’t remove any indents beforehand or add any afterward. If you start a new line, you can press TAB on your keyboard to create a space that’s the correct size. Save the config file and relaunch Minecraft; those mobs shouldn’t spawn anymore.

Using Bad Mobs Bad Mobs Config for 1.13+

Before being able to configure the Bad Mobs mod, you’ll need to install it and run Minecraft at least once. That way, all the editable configuration files are created. Once Minecraft has reached the main menu, it can be closed.

Then open your Minecraft ‘config’ folder. Inside, you should see a file called badmobs-common.toml. Open this file with a text editor, such as Notepad or Wordpad. You’ll see lots of text within this document that should contain multiple paragraphs, similar to the code snippet below.


	#Spawning options for minecraft:axolotl
	[minecraft.axolotl]
		#Should the entity be allowed to spawn normally?
		allowNormalSpawning = true
		#Should spawners be able to spawn the entity?
		allowSpawners = true
		#Should spawn eggs be able to spawn the entity?
		allowSpawnEggs = true
		#Should the entity spawn via mob conversion?
		allowConversions = true
		#When enabled, the entity type will be aggressively removed.
		removeAggressively = false

Each section lists a different entity, with the above example showing the Axolotl mob. To stop this mob from spawning, you’d have to change the allowNormalSpawning from true to false.

Here, you can also change the values for whether mobs can spawn through Spawners or Spawn Eggs. There are many different entities to change here. It’s a good idea to hold CTRL and press F to search for other mobs.

You can save the config file once you’ve finished, close it and reopen Minecraft. Mobs you set ‘allowNormalSpawning = false’ shouldn’t appear in the world anymore.

Custom Config Files

Below, you can find a custom config file you can download for Bad Mobs on 1.12.2. It’s based around a Zombie Apocalypse pack and will disable the spawning of many Overworld creatures like the Witch, Stray, Slime, Enderman, and more.

Passive mobs will still spawn, as it only removes hostile creatures such as Creepers, Skeletons, Spiders, and others. Everything in the Nether and End will remain the same.

Clicking the link below will open a file that shows an edited config file. All you need to do is highlight the text, copy and paste it into your own Bad Mobs config file and save the changes.

Open the Minecraft Config Folder

Configuring this mod requires opening your Minecraft config folder, which contains all the mod configuration files. If you don’t know how to find this folder, here are some easy methods.

In Windows, there are multiple ways to access the folder. The first would be to open your AppData folder. Do this by opening the Start Menu, entering %AppData% into the search bar, and pressing Enter. This should bring you to C:\Users\YOU\AppData\Roaming. In this folder, you should see .minecraft, which you should open, and the config folder is inside.

Alternatively, you can open Minecraft and go to the main menu. If there is a mods button on your screen, select it, and then press the Open Mods Folder button. This will bring you to the mods folder inside your Minecraft directory. You’ll need to go up a level, so you’re inside the Minecraft directory and then open the Config folder.