I was building a mob zoo and my bats got out and they fly around and annoy me. How do i remove them?

  • 1
    You can kill them? They're passive mobs so they won't attack you
    – Ben
    Jul 23, 2014 at 22:12
  • Not sure why you're getting so much hate for this, buddy. One of my world glitched out and had thousands and thousands of passive mobs everywhere plus was lagging down to <1FPS, so I had the same question. /kill @e[type=Cow] was exactly what I needed. PS: "protected by Community♦ Dec 14 '14 at 14:44" - this is like an Asian's nightmare.
    – JSideris
    Jan 17, 2017 at 13:55

4 Answers 4


Actually, there's a better way to do this than the ways the other answers mention, and it's much faster. Just run this command.

/kill @e[type=Bat]

This will kill all bat entities.

  • This only works for 1.8 (snapshots)
    – nelson2tm
    Jul 28, 2014 at 15:45

Sorry, but if they've already gotten out, then the only way to exterminate them is to roll up your sleeves and get to work doing it the hard way. Just whack 'em with a sword until the population's down to a somewhat less annoying level.

  • They are to fast Jul 23, 2014 at 22:21
  • @craftern3rdgurl They always seem to fly towards me, as they're always getting in the way when I'm battling a aggressive mob. I find just standing still aiming in the right general direction whilst swiping my sword around, and I find they're fairly easy to take down.
    – Bryan
    Jul 23, 2014 at 22:37
  • 1
    /kill @e[type=Bat] Commands solve everything. Trust me. Jul 24, 2014 at 14:23
  • I concede to you then, sir. I'm not too familiar with cheats or commands in Minecraft since I don't use them too often. @craftern3rdgurl If you don't mind cheating, use EpicCoder's solution.
    – BammaHamma
    Jul 24, 2014 at 22:20

I would recommend using a bow and arrow. When the bat lands on the ceiling and stays, you can target them and kill them from a far distance with out them noticing. If you want to TOTALLY exterminate them forever, all you need to do is type in this command:

/kill @e[type=Bat]

According to the Wiki bats will spawn in areas below layer 63, with a light level of 7 or less. So, much like you would to prvent hostile mobs from spawning, light area with torches (or whatever your preferred source of light is).

To get rid of them, kill them in any conventional way (swords, arrows, splash potions, fire). They are passive and will not attack you even if you hit them.

  • 1
    They also despawn if far enough away from the player, so if the area has been lit up, move far enough away for the chunk to unload (100 to 200 blocks should do it), then head back and the bats will be gone, but as will other mobs that haven't been named using a name tag & anvil.
    – Bryan
    Jul 23, 2014 at 22:40
  • @Bryan passive mobs do not despawn. Aug 29, 2015 at 14:07
  • @Mindwin "Although the bat is a passive mob, they still despawn when going too far away, like hostile mobs, ocelots, and squid." it's right there in the wiki page I linked. Aug 29, 2015 at 18:00

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