How do I get rid of these bats on minecraft

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

  • Will monsters spawn on top of trees?
  • Can I retrieve the position of an offline player in SMP?
  • What's the maximum number of powered rails in a row that's useful?
  • Where is the mod folder?
  • Minecraft, without the death?
  • What do I do if I don't have a META-INF folder or minecraft.jar?
  • How to test for time of day with command block in Minecraft
  • Minecraft Not Using All of RAM
  • Is there a list of error codes for Minecraft?
  • How do I fix 'Invalid JSON' errors on Minecraft PC?
  • How to install mods for the new Minecraft launcher
  • Any way to round up animals in Minecraft?
  • 4 Solutions collect form web for “How do I get rid of these bats on minecraft”

    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.

    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.

    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.

    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]

    We love Playing Games, especially Video Games.