{{For}}
{{Infobox entity
| title = Bat
| group1 = Still
| 1-1 = Bat JE4 BE3.png
| group2 = Flying
| 2-1 = Bat JE4 BE3.gif
| group3 = Hanging
| 3-1 = Bat (Hang) JE4 BE3.png
| invimage = Bat Spawn Egg
| health = {{hp|6}}
| behavior = Passive
| mobtype = Ambient
| size = Height: 0.9 blocks
Width: 0.5 blocks
| spawn =
* Below layer 63
* Light level of 3 or less in neighboring blocks
* October 20 – November 3: light level of 6 or less in neighboring blocks{{only|java|short=1}}
}}
A '''bat''' is a flying ambient[{{mcnet|meet-bat|Meet the Bat|March 7, 2017|Tom Stone}}] [[passive mob]] that spawns in dark areas.
== Spawning ==
Bats can spawn in groups of 8{{only|java|short=1}}/2{{only|bedrock|short=1}} in the [[Overworld]] at a light level of 3 or less at any height, on blocks of [[stone]], [[granite]], [[diorite]], [[andesite]], [[tuff]], or [[deepslate]] that are not directly exposed to the sky. They also need at least 1.5 air blocks (with for instance, a top [[trapdoor]] or top [[slab]] in the block above foot level). {{IN|java}}, 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.
Bat entities do not count toward the hostile [[Mob spawning#Java Edition mob cap|mob cap]], as they are said to be ambient creatures, and therefore fall into the dedicated, [[Mob spawning#Spawn cycle|eponym category]].
== Drops ==
=== On death ===
Bats do not drop any [[item]]s or [[experience]] upon death.
== Behavior ==
Bats often fly around aimlessly, squeaking randomly. Their flight pattern tends to favor the east, and sometimes they may fly into [[lava]] and catch on [[fire]].[{{bug|MC-194|||WAI}}]
Bats hang upside down on the underside of a [[solid block]] when idle, though they cannot hang on transparent or non-solid blocks. During this state, they squeak far less and occasionally turn to face different directions. They remain in this state until they are disturbed; 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.
Bats [[despawn]] when too far away from the player (over 32 blocks away).
Bats' collision boxes do not interact with the player or [[redstone components]]{{only|java}}.
== Sounds ==
{{Edition|Java}}:
Bats use the Friendly Creatures sound category for [[Sound#Entity-dependent categories|entity-dependent sound events]].
{{SoundTable
| type = java
| {{SoundLine
| sound =Bat idle1.ogg
|sound2=Bat idle2.ogg
|sound3=Bat idle3.ogg
|sound4=Bat idle4.ogg
|subtitle=Bat screeches
|source=neutral
|description=Randomly while flying
|id=entity.bat.ambient
|translationkey=subtitles.entity.bat.ambient
|volume=0.1
|pitch=0.76-1.14
|distance=16}}
| {{SoundLine
|sound=Bat death.ogg
|subtitle=Bat dies
|source=neutral
|description=When a bat dies
|id=entity.bat.death
|translationkey=subtitles.entity.bat.death
|volume=0.1
|pitch=0.76-1.14
|distance=16}}
| {{SoundLine
|sound=Bat hurt1.ogg
|sound2=Bat hurt2.ogg
|sound3=Bat hurt3.ogg
|sound4=Bat hurt4.ogg
|subtitle=Bat hurts
|source=neutral
|description=When a bat is damaged
|id=entity.bat.hurt
|translationkey=subtitles.entity.bat.hurt
|volume=0.1
|pitch=0.76-1.14
|distance=16}}
| {{SoundLine
|sound=Bat loop.ogg
|subtitle=MC-177087
|source=-
|description=''Unused sound event'' [{{bug|MC-185413}}]
|id=entity.bat.loop
|translationkey=-
|volume=''None''
|pitch=''None''
|distance=''None''}}
| {{SoundLine
|sound=Bat takeoff.ogg
|subtitle=Bat takes off
|source=neutral
|description=When a bat starts flying
|id=entity.bat.takeoff
|translationkey=subtitles.entity.bat.takeoff
|volume=0.05
|pitch=0.8-1.2
| distance = 16
}}
}}
{{Edition|Bedrock}}:
{{SoundTable
| type = bedrock
| {{SoundLine
| sound =Bat idle1.ogg
|sound2=Bat idle2.ogg
|sound3=Bat idle3.ogg
|sound4=Bat idle4.ogg
|source=neutral
|description=Randomly
|id=mob.bat.idle
|volume=0.1
|pitch=0.76-1.14}}
| {{SoundLine
|sound=Bat death.ogg
|source=Friendly Creatures
|description=When a bat dies
|id=mob.bat.death
|volume=0.1
|pitch=0.76-1.14}}
| {{SoundLine
|sound=Bat hurt1.ogg
|sound2=Bat hurt2.ogg
|sound3=Bat hurt3.ogg
|sound4=Bat hurt4.ogg
|source=neutral
|description=When a bat is damaged
|id=mob.bat.hurt
|volume=0.1
|pitch=0.76-1.14}}
| {{SoundLine
|sound=Bat takeoff.ogg
|source=neutral
|description=When a bat starts flying
|id=mob.bat.takeoff
|volume=0.05
| pitch = 0.8-1.2
}}
}}
== Data values ==
=== ID ===
{{edition|java}}:
{{ID table
|edition=java
|generatetranslationkeys=y
|displayname=Bat
|spritetype=entity
|nameid=bat
|showentitytags=y
|entitytags=fall_damage_immune
|foot=1}}
{{edition|bedrock}}:
{{ID table
|edition=bedrock
|shownumericids=y
|generatetranslationkeys=y
|displayname=Bat
|spritetype=entity
|nameid=bat
|id=19
|foot=1}}
=== Entity data ===
Bats have entity data associated with them that contain various properties.
{{el|java}}:
{{main|Entity format}}
{{/ED}}
{{el|bedrock}}:
:See [[Bedrock Edition level format/Entity format]].
==Achievements ==
{{load achievements|Overkill;Over-Overkill}}
== Advancements ==
{{load advancements|A Throwaway Joke;Take Aim;Arbalistic;Adventure;Over-Overkill}}
== History ==
{{HistoryTable
|{{HistoryLine||October 11, 2010|link={{tweet|notch|27027963373}}|[[Notch]] mentioned bats as a potential aggressive mob during the development of the [[Halloween Update]], taking an inspiration from The Elder Scrolls' cliff racers.}}
|{{HistoryLine|java}}
|{{HistoryLine||1.4.2|dev=12w38a|[[File:Bat JE1 BE1.png|32px]] [[File:Bat (Hang) JE1 BE1.png|32px]] [[File:Bat JE1 BE1.gif|32px]] Added bats.}}
|{{HistoryLine|||dev=12w42a|Bats no longer activate [[pressure plate]]s or "trample" [[crops]].[https://web.archive.org/web/0/https://www.mojang.com/2012/10/minecraft-snapshot-12w42a]}}
|{{HistoryLine|||dev=1.4-pre|Added [[sound]]s: entity.bat.ambient
, entity.bat.hurt
, entity.bat.death
, entity.bat.takeoff
.}}
|{{HistoryLine||1.11|dev=16w32a|Changed the entity ID from Bat
to minecraft:bat
.}}
|{{HistoryLine||1.14|dev=18w43a|[[File:Bat JE2 BE2.png|32px]] [[File:Bat (Hang) JE2 BE2.png|32px]] [[File:Bat JE2 BE2.gif|32px]] Changed texture.}}
|{{HistoryLine||1.15|dev=19w34a|Bats now take damage on [[magma block]]s.}}
|{{HistoryLine||1.20.3|dev=23w43a|[[File:Bat JE3.png|32px]] [[File:Bat (Hang) JE3.png|32px]] [[File:Bat JE3.gif|32px]] The model, texture and animations of the bat have been changed.}}
|{{HistoryLine|||dev=23w44a|[[File:Bat JE4 BE3.png|32px]] [[File:Bat (Hang) JE4 BE3.png|32px]] [[File:Bat JE4 BE3.gif|32px]] The model of the bat has been changed to match {{BE}}.}}
|{{HistoryLine||1.21.2|dev=24w33a|Bats can now spawn at any height, not just below sea level, as long as it is dark enough, not directly exposed to the sky, and there is a solid block to spawn on.}}
|{{HistoryLine|||dev=24w36a|Bats must spawn on one of the following blocks now: stone, granite, diorite, andesite, tuff, or deepslate.}}
|{{HistoryLine|pocket alpha}}
|{{HistoryLine||v0.11.0|dev=build 1|[[File:Bat JE1 BE1.png|32px]] [[File:Bat (Hang) JE1 BE1.png|32px]] [[File:Bat JE1 BE1.gif|32px]] Added bats.}}
|{{HistoryLine|bedrock}}
|{{HistoryLine||1.10.0|dev=beta 1.10.0.3|[[File:Bat JE2 BE2.png|32px]] [[File:Bat (Hang) JE2 BE2.png|32px]] [[File:Bat JE2 BE2.gif|32px]] Changed texture.}}
|{{HistoryLine||1.20.50|dev=Preview 1.20.50.22|[[File:Bat JE4 BE3.png|32px]] [[File:Bat (Hang) JE4 BE3.png|32px]] [[File:Bat JE4 BE3.gif|32px]] The model, texture and animations of the bat have been changed.}}
|{{HistoryLine||1.21.40|dev=Preview 1.21.40.22|Bats can now spawn at any height, not just below sea level, as long as it is dark enough and there is a solid block to spawn on.|Bats must spawn on one of the following blocks now: stone, granite, diorite, andesite, tuff, or deepslate.}}
|{{HistoryLine|console}}
|{{HistoryLine||xbox=TU19|xbone=CU7|ps3=1.12|psvita=1.12|ps4=1.12|wiiu=Patch 1|switch=1.0.1|[[File:Bat JE1 BE1.png|32px]] [[File:Bat (Hang) JE1 BE1.png|32px]] [[File:Bat JE1 BE1.gif|32px]] Added bats.}}
|{{HistoryLine||xbox=none|xbone=none|ps3=none|psvita=none|ps4=1.90|wiiu=none|switch=none|[[File:Bat JE2 BE2.png|32px]] [[File:Bat (Hang) JE2 BE2.png|32px]] [[File:Bat JE2 BE2.gif|32px]] Changed texture.}}
|{{HistoryLine|new 3ds}}
|{{HistoryLine||0.1.0|[[File:Bat JE1 BE1.png|32px]] [[File:Bat (Hang) JE1 BE1.png|32px]] [[File:Bat JE1 BE1.gif|32px]] Added bats.}}
}}
== Issues ==
{{issue list}}
== Trivia ==
*According to [[Jens Bergensten]], 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.
*The updated texture of the bat was created in roughly 2 hours. However, the model and animations took longer.[{{Tweet|JasperBoerstra|1751333853153624256|The bat remodel was made in roughly 2 hours for example.}}]
*During [[Minecraft: The Island|''Minecraft: The Island'']], there is a scene where [[Guy]] ends up wasting his final [[arrow]] when it accidentally hit a bat instead of a [[creeper]] during a pivotal moment. According to author Max Brooks, this was something that actually happened to him while playing.[{{Mcnet|the-mountain|The Mountain|March 2, 2021|Alex Wiltshire}}]
== Gallery ==
=== Screenshots ===
Bat in Cave.png|A bat in a [[cave]].
Bats.png|A colony of bats.
Deep Dark Bat.png|A bat in the [[deep dark]].
Batshaft.png|A [[zombie]] and [[creeper]] eyeing a bat.
Makena peeks at bats.png|"A close-up shot of a bats flying around a ruined portal, while [[Makena]] hides in a nearby water pool."[{{Mcnet|minecraft-java-edition-1-20-3|Minecraft Java Edition 1.20.3|December 5, 2023|Java Team}}]
=== Textures ===
File:Bat (texture).png|Bat texture file.
File:Bat (texture) JE2 BE2.png|Old Bat texture file
=== Other ===
EarlyBatRendered.png|A recreation of the unused bat on the hidden pixels of the old bat texture revealed by [[History of textures/Unused textures hidden in transparency|disabling the alpha channel.]]
=== In other media ===
Pretty Scary Update poster.png|Bat in promotional artwork for the [[Pretty Scary Update]].
Wallpaper minecraft 15th-anniversary-right 1080x1920.png|A bat with [[Sunny]] and a [[zombie]] on artwork for the 15th anniversary of ''Minecraft''. Note the old design.
City Bat.png|A bat as it appears in the [[Texture pack DLC|City]] [[Texture pack DLC|texture pack]].
Greek Bat.png|A bat as it appears in the [[Mash-up pack|Greek Mythology mash-up pack]].
Bat Natural.png|A bat as it appears in the [[Texture pack DLC|Natural texture pack]].
Bat Cloak.png|The [[Character Creator|Bat Cloak]], an item in the [[character creator]].
Bat (Dungeons).png|A [[Minecraft Dungeons:Bat|bat]] as it appears in ''[[Minecraft Dungeons]]''.
Bat (inventory) MCE.png|A [[Minecraft Earth:Bat|bat]] as it appeared in ''[[Minecraft Earth]]''.
Bat1.jpg|A [[MCSM:Bat|bat]] as it appeared in ''[[Minecraft: Story Mode]]''.
LEGO Bat.png|[[Lego Minecraft]] Bat.
Bat Plush JINX.jpg|Bat plush made by JINX.
Trick or Treat Bat.jpg|"Bat Trick or Treat," an official Halloween shirt design.
== References ==
{{reflist}}
== External links ==
*[[wikipedia:bat|Bat]] article on Wikipedia
*[https://www.minecraft.net/en-us/article/bat Mob Menagerie: Bat] – Minecraft.net on August 8, 2024
*[https://www.minecraft.net/en-us/article/meet-bat Meet the Bat] – Minecraft.net on March 7, 2017
== Navigation ==
{{Navbox mobs}}
[[Category:Passive mobs]]
[[Category:Flying mobs]]
[[cs:Netopýr]]
[[de:Fledermaus]]
[[es:Murciélago]]
[[fr:Chauve-souris]]
[[it:Pipistrello]]
[[ja:コウモリ]]
[[ko:박쥐]]
[[lzh:蟙䘃]]
[[nl:Vleermuis]]
[[pl:Nietoperz]]
[[pt:Morcego]]
[[ru:Летучая мышь]]
[[th:ค้างคาว]]
[[uk:Кажан]]
[[zh:蝙蝠]]