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?

  • How can I get rid of this black hole in my minecraft world?
  • Does the hunger meter decrease at a constant rate?
  • Is it possible to convert the type of a Minecraft world?
  • End Portal in FTB teleports to random location in the overworld
  • What's the most efficient way to get experience?
  • How to get things off your head in Minecraft Mo' Creatures mod
  • What's the minimum amount of stuff you need from the surface to be self-sufficient underground?
  • Why is my closed off space lit up in Minecraft?
  • Why does tekkit not update to the newest version of minecraft?
  • What's the easiest or quickest way to build bases under water?
  • Where can I find wolves?
  • Is there a command to display my coordinates in chat?
  • 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.