Bat

A bat is a flying ambient passive mob that spawns in dark areas underground.

Spawning
Bats can spawn in groups of 8/2 in the Overworld at a light level of 3 or less on opaque blocks below layer 63. They also need at least 2 air blocks (or alternatively, a top trapdoor or top slab in the block above foot level). $$, between October 20 and November 3, they require a light level of 6 or less to spawn. On Superflat worlds, bats spawn below the top non-air layer, ignoring the usual layer-63 limitation.

Drops
Bats do not drop any items or experience upon death.

Behavior
Bats are small, less than a block tall and wide. They squeak randomly. They often fly around aimlessly, tending to favor the east, and sometimes fly into lava and catch on fire.

Bats hang upside down on the underside of a solid block when idle, though they cannot hang on transparent or non-solid blocks. If a player approaches a bat hanging upside down, even if the player is invisible, it flies away. This also happens if the player breaks the block the bat is hanging from.

Like most other passive mobs, bats despawn when too far away from the player.

Bats' collision boxes do not interact with the player or redstone components.

ID




Entity data
Bats have entity data associated with them that contain various properties.




 * See Bedrock Edition level format/Entity format.
 * See Bedrock Edition level format/Entity format.

Trivia

 * According to Jeb, the bat is an example of an ambient mob – a mob that constantly spawns, similar to the squid, but also constantly despawns because when a player is not around it does not serve any purpose.
 * It is impossible to attach a lead to a bat.
 * Between 20 October and 3 November, bats spawn more frequently as a small Easter Egg in homage to Halloween.