{{Dungeons hatnote|type=mob}}
{{Infobox entity
| image1 = Phantom.gif
| image1caption = {{JE}}
| image2 = Phantom BE.gif
| image2caption = {{BE}}
| invimage2 = Phantom Spawn Egg
| health = {{hp|20}}
| behavior = Hostile
| mobtype = [[Undead]], [[Monster]]
| damage = '''''Java Edition:'''''
Easy & Normal: {{hp|2}}
Hard: {{hp|3}}
'''Bedrock Edition:'''
Easy: {{hp|4}}
Normal: {{hp|6}}
Hard: {{hp|9}}
| spawn = In the [[Overworld]] at nighttime or during thunderstorms, when player has not entered a bed or died for 3+ ingame days
| size = '''Height:''' 0.5 Blocks
'''Width:''' 0.9 Blocks
| speed = 0.7
}}
'''Phantoms''' are flying [[undead]] [[hostile mob]]s that spawn in the night sky when the [[player]] has not laid in a [[bed]] or died for three or more in-game days. They attack by diving at the player from the sky to bite them.
== Spawning ==
[[File:Phantom at night.png|thumb|Two phantoms at night.]]
Phantoms spawn unless the [[game rule]] doInsomnia
is set to false
. The spawning mechanics differ between ''[[Java]]'' and [[Bedrock Edition|''Bedrock'']] editions. In both editions, they spawn in the [[Overworld]] above the [[player]] if the "Time Since Last Rest" [[statistic]] is at least 1 hour (72000 ticks or 3 in-game days).{{verify|It seems to be longer in Bedrock}} This statistic is reset when the player dies or enters a [[bed]]. This does not require skipping the night. Phantoms may still spawn in multiplayer if there are any players who have not slept for 3 in-game days. Furthermore, the player must not have a block overhead that [[opacity|blocks light]] in any way; for example, leaves prevent phantoms from spawning as they have a light opacity of 2, but [[glass]] does not, as its light opacity is 0. Phantoms do not spawn in [[Spectator]] mode,{{only|java|short=1}} but they do spawn in [[Creative]] mode.[{{bug|MC-145177|||WAI}}]
=== ''Bedrock Edition'' ===
Phantom spawning is similar to other monsters spawning: the spawn location must have a light level of 7 or less, and spawns are limited by the monster population cap. Phantoms are also subject to a density cap of 5. Phantom spawn attempts are made on surface blocks throughout the same spawn radius as other monsters. However, when a phantom spawn attempt succeeds, the phantom appears somewhere in a 21×15×21 cube centered 28 blocks above the player instead of at the block where the spawn attempt occurred.
This means Phantoms can also spawn during daytime as long as there are suitable blocks around players who are directly below the sky. Blocks that can spawn Phantoms needs to count as surface, that is, they have to be the highest spawnable block having no solid blocks directly above them. A solid floor under a roof of leaves, with at least 8 air blocks in between, meets this criteria.
=== ''Java Edition'' ===
Phantoms attempt to spawn every {{tooltip|1–2 minutes|1200–2400 ticks}}. They spawn only if it is night or a thunderstorm is happening, the player is above sea level (y=64) with sky visible directly above, and the [[local difficulty]] is greater than a randomly chosen value between 0.0 and 3.0. The formula {{fraction|''x''−72000|''x''}} represents the chance of a successful spawn, where ''x'' is the number of ticks since the player last entered a bed or died. This roughly comes to a {{fraction|1|4}} (25.0%) chance on day 4, a {{fraction|2|5}} (40.0%) chance on day 5, a {{fraction|3|6}} ({{fraction|1|2}}) (50.0%) chance on day 6, {{fraction|4|7}} (about 57.1%) chance on day 7, and so on.
If all conditions are met, a group of phantoms attempts to spawn 20–34 blocks above the player, and off to the side by a [[taxicab distance]] of up to 10 blocks. The number of phantoms spawned is 1-2 in [[Easy]] difficulty, 1-3 in [[Normal]], and 1-4 in [[Hard]]. Phantoms can spawn inside buildings, if the player is outside and the building is both near enough and the building has a large enough cavity for them to spawn inside.
Phantoms count toward the hostile [[mob]] cap, but they do not adhere to it when spawning.[{{bug|MC-198101}}] Their spawning mechanic is based on the location of players in the world rather than by chance, unlike regular [[mob spawning]]. Phantom spawning is completely independent of biome, meaning they can spawn in biomes that normally prevent hostile mob spawning such as [[mushroom fields]][{{bug|MC-126778}}] and [[the void]].[{{bug|MC-127599}}] The number of phantoms which spawn indirectly increase in number every consecutive night a player has not entered a bed, as there is a higher chance that phantoms spawn every time there is a spawn attempt. They then stop spawning when the player lies down in bed.
== Drops ==
=== On death ===
{{DropsTableHead}}
{{DropsLine|name=Phantom Membrane|quantity=0-1|lootingquantity=1|playerkill=yes}}
{{DropsTableFoot}}
* {{xp|5}} when killed by the player or a tamed wolf.
== Behavior ==
[[File:Phantom 2.0.png|thumb|right|A phantom swooping at the [[player]]. In addition, a [[spider]] is stalking the player and [[sheep]] can be seen in the background.]]
When idle, phantoms fly around in a roughly circular pattern within 15 to 25 blocks of a player horizontally and within 24 to 35 blocks of a player vertically. They leave a trail of gray smoke while they fly. Their movement speed is one of the fastest of any mob, up to 20 blocks per second. They have a large search radius, targeting and following players from 64 blocks away. Once every 10-20 seconds{{only|bedrock|short=1}} or every 8-12 seconds{{only|je|short=1}}, they swoop in to attack. If stopped or hurt during this action, the phantom retreats back to its original elevation. When a path to its original elevation is obstructed by a block, the phantom continues attempting to return to its original elevation until it either attacks or moves out from under the block. Phantoms do not attack an exposed player sleeping in a bed, nor players in creative mode.
Phantoms can move through water at their normal speed. In ''Bedrock Edition'', a phantom underwater attempts to fly to the surface, and dies from drowning after 20 seconds if trapped underwater. Phantoms do not drown in ''Java Edition''.
A phantom's body disappears when under the [[Invisibility]] effect, but its eyes and smoke [[particle]]s are still visible.
[[Cat]]s hiss at phantoms that are currently attacking players, and phantoms try to stay at least 16 blocks away from them. (This is true even if the cat is inside a building.) {{IN|bedrock}}, phantoms also avoid [[ocelot]]s in the same manner.
Being an [[undead]] mob, they are:
* damaged by the status effect [[Instant Health]] and healed by the status effect [[Instant Damage]].
* unaffected by the status effects [[Regeneration]] and [[Poison]].
* ignored by the [[wither]].
* affected by the [[Smite]] enchantment.
* unable to swim in [[water]], but do not drown{{Only|je|short=1}}.
* a threat to [[armadillo]]s, causing them to hide in their shell.
Like [[zombie]]s and [[skeleton]]s, phantoms burn in sunlight. They burn even when equipped with [[helmet]]s through commands.[{{bug|MC-146985||Helmeted phantoms still burn under the sunlight}}]
=== Detailed pathing behavior ===
[[File:Phantoms circling below player.jpg|thumb|right|Phantoms circling below a player in creative mode, who is standing 30 blocks above the logical spawning locations]]
Observation in Bedrock Edition v1.20: It seems that the circling is better described as targeting a certain location. This location starts out as the ground block that they logically spawned from. This means that they can circle even *below* the player. After swooping a player (even unsuccessfully), a new target location is designated, and thus a new circling height.
== Sounds ==
{{Edition|Java}}:
Phantoms use the Hostile Creatures sound category for [[Sound#Entity-dependent categories|entity-dependent sound events]].
{{SoundTable
| type = java
| {{SoundLine
| sound =Phantom idle1.ogg
|sound2=Phantom idle2.ogg
|sound3=Phantom idle3.ogg
|sound4=Phantom idle4.ogg
|sound5=Phantom idle5.ogg
|subtitle=Phantom screeches
|source=hostile
|description=Randomly
|id=entity.phantom.ambient
|translationkey=subtitles.entity.phantom.ambient
|volume=0.8
|pitch=0.8-1.2
|distance=16}}
| {{SoundLine
|sound=Phantom flap1.ogg
|sound2=Phantom flap2.ogg
|sound3=Phantom flap3.ogg
|sound4=Phantom flap4.ogg
|sound5=Phantom flap5.ogg
|sound6=Phantom flap6.ogg
|subtitle=Phantom flaps
|source=hostile
|description=Periodically
|id=entity.phantom.flap
|translationkey=subtitles.entity.phantom.flap
|volume=0.95-1.0
|pitch=0.95-1.0
|distance=16}}
| {{SoundLine
|sound=Phantom hurt1.ogg
|sound2=Phantom hurt2.ogg
|sound3=Phantom hurt3.ogg
|subtitle=Phantom hurts
|source=hostile
|description=When a phantom is damaged
|id=entity.phantom.hurt
|translationkey=subtitles.entity.phantom.hurt
|volume=0.75
|pitch=0.8-1.2
|distance=16}}
| {{SoundLine
|sound=Phantom death1.ogg
|sound2=Phantom death2.ogg
|sound3=Phantom death3.ogg
|subtitle=Phantom dies
|source=hostile
|description=When a phantom dies
|id=entity.phantom.death
|translationkey=subtitles.entity.phantom.death
|volume=1.0
|pitch=0.8-1.2
|distance=16}}
| {{SoundLine
|sound=Phantom swoop1.ogg
|sound2=Phantom swoop2.ogg
|sound3=Phantom swoop3.ogg
|sound4=Phantom swoop4.ogg
|subtitle=Phantom swoops
|source=hostile
|description=When a phantom dives down to attack
|id=entity.phantom.swoop
|translationkey=subtitles.entity.phantom.swoop
|volume=7.0
|pitch=0.95-1.05
|distance=16}}
| {{SoundLine
|sound=Phantom bite1.ogg
|sound2=Phantom bite2.ogg
|subtitle=Phantom bites
|source=hostile
|description=When a phantom attacks something
|id=entity.phantom.bite
|translationkey=subtitles.entity.phantom.bite
|volume=0.3
|pitch=0.9-1.0
| distance = 16
}}
}}
{{Edition|Bedrock}}:
{{SoundTable
| type = bedrock
| {{SoundLine
| sound =Phantom idle1.ogg
|sound2=Phantom idle2.ogg
|sound3=Phantom idle3.ogg
|sound4=Phantom idle4.ogg
|sound5=Phantom idle5.ogg
|source=hostile
|description=Randomly
|id=mob.phantom.idle
|volume=10.0
|pitch=0.8-1.2}}
| {{SoundLine
|sound=Phantom flap1.ogg
|sound2=Phantom flap2.ogg
|sound3=Phantom flap3.ogg
|sound4=Phantom flap4.ogg
|sound5=Phantom flap5.ogg
|sound6=Phantom flap6.ogg
|source=hostile
|description=Periodically
|id=mob.phantom.flap
|volume=10.0
|pitch=0.8-1.2}}
| {{SoundLine
|sound=Phantom hurt1.ogg
|sound2=Phantom hurt2.ogg
|sound3=Phantom hurt3.ogg
|source=hostile
|description=When a phantom is damaged
|id=mob.phantom.hurt
|volume=10.0
|pitch=0.8-1.2}}
| {{SoundLine
|sound=Phantom death1.ogg
|sound2=Phantom death2.ogg
|sound3=Phantom death3.ogg
|source=hostile
|description=When a phantom dies
|id=mob.phantom.death
|volume=10.0
|pitch=0.8-1.2}}
| {{SoundLine
|sound=Phantom swoop1.ogg
|sound2=Phantom swoop2.ogg
|sound3=Phantom swoop3.ogg
|sound4=Phantom swoop4.ogg
|source=hostile
|description=When a phantom dives down to attack
|id=mob.phantom.swoop
|volume=10.0
|pitch=0.95-1.05}}
| {{SoundLine
|sound=Phantom bite1.ogg
|sound2=Phantom bite2.ogg
|source=hostile
|description=When a phantom attacks something
|id=mob.phantom.bite
|volume=10.0
| pitch = 0.8-1.2
}}
}}
== Data values ==
=== ID ===
{{edition|java}}:
{{ID table
|edition=java
|showentitytags=y
|generatetranslationkeys=y
|displayname=Phantom
|spritetype=entity
|nameid=phantom
|entitytags=can_breathe_under_water, fall_damage_immune, ignores_poison_and_regen, inverted_healing_and_harm, undead, wither_friends
|foot=1}}
{{edition|bedrock}}:
{{ID table
|edition=bedrock
|shownumericids=y
|generatetranslationkeys=y
|displayname=Phantom
|spritetype=entity
|nameid=phantom
|id=58
|foot=1}}
=== Entity data ===
Phantoms have entity data associated with them that contains various properties.
{{el|java}}:
{{main|Entity format}}
{{/ED}}
{{el|bedrock}}:
: See [[Bedrock Edition level format/Entity format]].
== Achievements ==
{{load achievements|Monster Hunter;Overkill;It Spreads;Over-Overkill}}
== Advancements ==
{{load advancements|Adventure;Monster Hunter;Monsters Hunted;Two Birds, One Arrow;It Spreads;Take Aim;Arbalistic;A Throwaway Joke;Over-Overkill}}
== History ==
{{HistoryTable
|{{HistoryLine||November 1, 2017|link=https://www.youtube.com/watch?v=Cf9-ngK-LgM|Phantoms are first shown on [[wikipedia:Youtube|YouTube]] (back then known only as '''Mob B''' and '''The Monster of the Night Skies''').}}
|{{HistoryLine||November 14, 2017|link=https://minecraft.net/en-us/article/meet-mob-b|The article about the phantom was published, which introduced a community vote option for the phantom at [[MINECON Earth 2017]].}}
|{{HistoryLine||November 18, 2017|link={{tweet|minecraft|931953200625840132}}|The phantom wins the vote at MINECON Earth. It is the second of mobs that were added as a result of the community voting for it.}}
|{{HistoryLine|Java}}
|{{HistoryLine||1.13|dev=18w07a|[[File:Phantom Revision 1.png|48px]] Added phantoms with a placeholder drop of 1-4 [[leather]].}}
|{{HistoryLine|||dev=18w09a|Phantoms no longer spawn in [[the End]].
|Phantoms now [[Spawn#Despawning|despawn]] at daytime.}}
|{{HistoryLine|||dev=18w10a|[[File:Phantom.png|48px]] The phantom's model and texture have been changed.}}
|{{HistoryLine|||dev=18w10c|Phantoms are now considered [[undead]].}}
|{{HistoryLine|||dev=18w10d|Phantoms now burn in [[sunlight]] like most undead [[mob]]s.
|Phantoms no longer [[despawn]] at daytime.}}
|{{HistoryLine|||dev=18w14a|Phantoms now drop 0-1 [[phantom membrane]], instead of [[leather]].}}
|{{HistoryLine|||dev=18w19a|The phantom's animation has been changed to have the wings flap quicker and smoother.
|Phantoms now drop [[experience]].[{{bug|MC-128712}}]}}
|{{HistoryLine|||dev=pre1|Phantoms now have new flapping [[sound]]s.}}
|{{HistoryLine||1.14|dev=18w44a|Phantoms are now afraid of [[cat]]s.}}
|{{HistoryLine|||dev=pre3|The damage of phantoms has been reduced from {{hp|6}} to {{hp|2}}.[{{bug|MC-154372|resolution=WAI}}]}}
|{{HistoryLine||1.15|dev=19w36a|Phantom spawning can now be toggled with the [[game rule]] {{cd|doInsomnia}}.}}
|{{HistoryLine||1.20.3|dev=23w40a|Phantoms are now part of the {{cd|#can_breathe_under_water}} and {{cd|#undead}} [[Tag|tags]].}}
|{{HistoryLine|bedrock}}
|{{HistoryLine||1.6.0|dev=beta 1.6.0.1|[[File:Phantom BE1.png|48px]] Added phantoms with the health of {{hp|10}}, with a placeholder drop of 1-4 [[leather]].{{verify}}}}
|{{HistoryLine|||dev=beta 1.6.0.5|Phantoms now drop [[phantom membrane]]s.
|The phantom's health has been increased from {{hp|10}} to {{hp|20}}.
|Phantoms now burn in direct sunlight.
|Phantoms are now able to [[Damage#Drowning|drown]].}}
|{{HistoryLine||1.8.0|dev=beta 1.8.0.8|Phantoms are now afraid of [[cat]]s.}}
|{{HistoryLine|console}}
|{{HistoryLine||xbox=TU69|ps3=1.76|psvita=1.76|ps4=1.76|wiiu=Patch 38|[[File:Phantom.png|48px]] Added phantoms.|Phantoms only have 10 health.|The [[spawn limit|maximum number]] of phantoms in a world is 5.}}
}}
== Issues ==
{{issue list}}
== Trivia ==
[[File:Red Phantom.jpg|thumb|200px|The red phantom design was scrapped because it looked like a [[Nether]] mob.]]
* At one point before the release of [[Java Edition 18w10a|18w10a]], the phantom texture was made red, but it was decided that it appeared too much like a [[Nether]] mob.[{{Mcnet|meet-phantom|Meet the Phantom|March 12, 2018}}]
* The phantom was originally going to have a mouth, like the drawing shown during [[MINECON Earth 2017|MINECON Earth]], but it was eventually scrapped because "it looked so much like a muppet". Earlier designs can be seen on [[Minecraft]]'s [[wikipedia:Instagram|Instagram]] account.[https://www.instagram.com/p/BkdvBUXjqcD]
* The sounds of the phantom were taken from [[Samuel Åberg]]'s baby son screaming.[https://www.asoundeffect.com/minecraft-dungeons-game-audio/][{{ytl|f0k7JNFGhms|Growth & Evolution - Part 3: 15 Years of Minecraft|Minecraft|t=492s}}]
* Despite that they are flying mobs, phantoms can destroy [[turtle egg]]s when on top of them.[{{bug|MC-248332}}]
== Gallery ==
=== Screenshots ===
Invisible Phantom.png|A phantom under the [[Invisibility]] effect.
Phantoms on fire.png|Phantoms exposed to sunlight and taking [[fire]] [[damage]].
Phantom Wing Animation 320p.gif|The [[particle]]s produced by the phantom's wings can be clearly seen.
Phantom swoop.png|A phantom swooping down at a player at night leaving a trail of gray smoke.
BoatPhantom.png|A phantom stuck in a player's boat, caught in the daylight.
1.19.4-pre1.jpg|[[Noor]] riding a phantom.
=== Mojang images ===
Invisibility Phantom.jpg|A player avoiding a phantom by using the [[Invisibility]] effect.
Phantom Swarm.png|A swarm of phantoms.
Too Many Phantoms.jpg|Another swarm of phantoms.
Flaming Phantom.jpg|A phantom on fire.
=== Development images ===
Phantom Colorful.png|A phantom with a model template texture.
Phantom Missing Texture.png|A phantom with the missing texture.
Jeb Phantoms.jpg|Phantoms flying overhead.
Phantom (pre-release) 1.jpg|A phantom flying high in the [[air]], using its model and texture from 18w07a. The smoke [[particle]]s beside each of its wings can be seen.
Phantom (pre-release) 2.jpg|A phantom flying high in the [[air]], using its model and texture from 18w07a. The smoke [[particle]]s beside each of its wings can be seen.
Phantom Poses.jpg|The phantom's poses.
=== Concept artwork ===
Mob vote 1.jpg|Mob B alongside the other mobs.
Mob B The Night Skies.gif|Mob B finally wins in Minecon Earth Mob Vote.
Phantom revisions.png|All the revisions of the phantom design, except for the red revision.
Red Phantom.jpg|The red phantom revision.
Phantom Sketches.jpg|Concept sketches.
=== Textures ===
File:Phantom (texture).png|Phantom texture file.
File:Phantomoldtexture.png|old Texture before 18w10a
=== In other media ===
File:15th Anniversary Phantom.png|Artwork of a phantom.
File:LEGO Phantom.png|[[LEGO Minecraft]] Phantom.
File:Oh My.png|"Phantoms and Witches and Ghasts, Oh My," an officially licensed T-Shirt.
File:E.jpg|Phantom Plush.
Phantom demotivational.jpeg|A demotivational poster of a phantom.
File:A phantom's kindness.jpeg|World Kindness Day artwork.
== References ==
{{Reflist}}
== External links ==
*[https://www.minecraft.net/en-us/article/meet-phantom Meet the Phantom] – Minecraft.net on March 12, 2018
== Navigation ==
{{Navbox mobs}}
[[Category:Hostile mobs]]
[[Category:Undead mobs]]
[[Category:Monster mobs]]
[[Category:Flying mobs]]
[[de:Phantom]]
[[es:Fantasma]]
[[fr:Phantom]]
[[hu:Fantom]]
[[it:Phantom]]
[[ja:ファントム]]
[[ko:팬텀]]
[[pl:Fantom]]
[[pt:Phantom]]
[[ru:Фантом]]
[[th:แฟนท่อม]]
[[uk:Фантом]]
[[zh:幻翼]]