1

So i'm trying to build a Five Nights at Freddy's 2 map on Minecraft but bats keep spawning I tried to kill them but there are to many to kill and I tried this command /gamerule Domobspawning false but that didn't work and /kill @e[type=bat] I have no idea how to get rid of bats

1
  • damn Zubats, they're everywhere! :P
    – SysDragon
    Jul 29, 2016 at 15:35

2 Answers 2

4

Gamerules are case-sensitive, and you can create your own gamerules. The correct gamerule is "doMobSpawning", while you've created a custom gamerule called "Domobspawning".

/gamerule doMobSpawning false

Savegame IDs are also case-sensitive. The correct ID is "Bat", not "bat".

/kill @e[type=Bat]
0
0

To get the bats to stop spawning try putting some source of light if you can in the area. To kill the bats I would just use splash potions.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .