FANDOM


Bats are atmospheric[1] flying passive mobs that spawn in caves.

Bat

Spawning

Bats can spawn in the Overworld at a light level of 3 or less on opaqueblocks below layer 63. Between October 20 and November 3, they only 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 when killed.

Behavior

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

Bats also will often 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 it while hanging upside down, including if the player is invisible, they start to fly away from the player. If you break the block a bat is resting on, the bat will go into the flying state and fly away from you.

Although the bat is a passive mob, they still despawn when going too far away, similarly to ocelots and squids.

Data values

See also: Chunk format

Bats have entity data associated with them that contain various properties of the mob. Their entity ID is bat.

 Entity data

  • Tags common to all entities 
  • Tags common to all mobs 

 BatFlags: 1 when hanging upside-down from a block, 0 when flying.

History

Official release
1.4.2 12w38a Added bats.
12w42a Bats no longer "trample" crops nor do they activate pressure plates.[2]
1.4-pre Added bat sounds: entity.bat.ambient, entity.bat.hurt, entity.bat.death,entity.bat.takeoff
1.11 16w32a Changed entity ID from Bat to bat.
Pocket Edition Alpha
0.11.0 build 1 Added bats.
Legacy Console Edition
TU19 CU7 1.12 Patch 1 Added bats.

Issues

Issues relating to “Bat” are maintained on the issue tracker. Report issues there.

Trivia

  • According to Jeb, bat is an example of atmospheric mob, mob that constantly spawns, similar to the Squid, but also constantly despawns, because when a player isn't around it doesn’t serve any purpose anymore.[1]
  • It is impossible to attach a lead to a bat.
Community content is available under CC-BY-SA unless otherwise noted.